Skip to content

Commit

Permalink
[media] img-ir: Don't set driver's module owner
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
James Hogan authored and Mauro Carvalho Chehab committed Dec 4, 2014
1 parent 6010d2c commit 64b989e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/media/rc/img-ir/img-ir-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down

0 comments on commit 64b989e

Please sign in to comment.