diff options
author | James Hogan <james.hogan@imgtec.com> | 2014-11-17 13:17:48 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-12-04 18:42:15 +0100 |
commit | 64b989e137557d05db8045856896d2f8ca482aa1 (patch) | |
tree | 80f990c70955ff8a1d5143868a8e94b99c0115d3 /drivers/media/rc | |
parent | [media] img-ir: Depend on METAG or MIPS or COMPILE_TEST (diff) | |
download | linux-64b989e137557d05db8045856896d2f8ca482aa1.tar.xz linux-64b989e137557d05db8045856896d2f8ca482aa1.zip |
[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 a0cac2f09109..77c78de4f5bf 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, }, |