diff options
author | James Hogan <james.hogan@imgtec.com> | 2014-11-17 12:17:48 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-12-04 17:42:15 (GMT) |
commit | 64b989e137557d05db8045856896d2f8ca482aa1 (patch) | |
tree | 80f990c70955ff8a1d5143868a8e94b99c0115d3 /drivers/media/rc | |
parent | 6010d2c104bfa4e427545639bdf60217e96d4baa (diff) | |
download | linux-64b989e137557d05db8045856896d2f8ca482aa1.tar.xz |
[media] img-ir: Don't set driver's module owner
Don't bother setting .owner = THIS_MODULE, since it's already handled by
the platform_driver_register macro.
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/rc')
-rw-r--r-- | drivers/media/rc/img-ir/img-ir-core.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/rc/img-ir/img-ir-core.c b/drivers/media/rc/img-ir/img-ir-core.c index a0cac2f..77c78de 100644 --- a/drivers/media/rc/img-ir/img-ir-core.c +++ b/drivers/media/rc/img-ir/img-ir-core.c @@ -166,7 +166,6 @@ MODULE_DEVICE_TABLE(of, img_ir_match); static struct platform_driver img_ir_driver = { .driver = { .name = "img-ir", - .owner = THIS_MODULE, .of_match_table = img_ir_match, .pm = &img_ir_pmops, }, |