Explorar o código

[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>
James Hogan %!s(int64=10) %!d(string=hai) anos
pai
achega
64b989e137
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      drivers/media/rc/img-ir/img-ir-core.c

+ 0 - 1
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,
 	},