summaryrefslogtreecommitdiff
path: root/drivers/media/rc
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2014-11-17 12:17:48 (GMT)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-12-04 17:42:15 (GMT)
commit64b989e137557d05db8045856896d2f8ca482aa1 (patch)
tree80f990c70955ff8a1d5143868a8e94b99c0115d3 /drivers/media/rc
parent6010d2c104bfa4e427545639bdf60217e96d4baa (diff)
downloadlinux-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.c1
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,
},