Commit 64b989e1 authored by James Hogan's avatar James Hogan Committed by Mauro Carvalho Chehab

[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: default avatarJames Hogan <james.hogan@imgtec.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent 6010d2c1
...@@ -166,7 +166,6 @@ MODULE_DEVICE_TABLE(of, img_ir_match); ...@@ -166,7 +166,6 @@ MODULE_DEVICE_TABLE(of, img_ir_match);
static struct platform_driver img_ir_driver = { static struct platform_driver img_ir_driver = {
.driver = { .driver = {
.name = "img-ir", .name = "img-ir",
.owner = THIS_MODULE,
.of_match_table = img_ir_match, .of_match_table = img_ir_match,
.pm = &img_ir_pmops, .pm = &img_ir_pmops,
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment