[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>
This commit is contained in:
James Hogan 2014-11-17 09:17:48 -03:00 committed by Mauro Carvalho Chehab
parent 6010d2c104
commit 64b989e137

View File

@ -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,
},