OSDN Git Service

[media] img-ir: Don't set driver's module owner
authorJames Hogan <james.hogan@imgtec.com>
Mon, 17 Nov 2014 12:17:48 +0000 (09:17 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 4 Dec 2014 17:42:15 +0000 (15:42 -0200)
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>
drivers/media/rc/img-ir/img-ir-core.c

index a0cac2f..77c78de 100644 (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,
        },