Explorar el Código

media: i2c: mt9t11x: Remove driver owner

drivers/media/i2c/mt9t11x.c:2278:3-8: No need to set .owner here. The
core will do it.

Remove .owner field if calls are used which set it automatically

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

Fixes: 0cc74f4fcf2b ("media: i2c: Add Aptina mt9t11x sensor driver")
Signed-off-by: Benoit Parrot <bparrot@ti.com>
Benoit Parrot hace 7 años
padre
commit
ac8fc1c8c4
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  1. 0 1
      drivers/media/i2c/mt9t11x.c

+ 0 - 1
drivers/media/i2c/mt9t11x.c

@@ -2275,7 +2275,6 @@ MODULE_DEVICE_TABLE(of, mt9t11x_of_match);
 
 static struct i2c_driver mt9t11x_i2c_driver = {
 	.driver = {
-		.owner = THIS_MODULE,
 		.name	= DRIVER_NAME,
 		.of_match_table = of_match_ptr(mt9t11x_of_match),
 	},