Explorar el Código

eeprom: fix platform_no_drv_owner.cocci warnings

No need to set .owner here. The core will do it.

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

CC: Serge Semin <fancer.lancer@gmail.com>
Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Julia Lawall hace 8 años
padre
commit
8ade6039b8
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  1. 0 1
      drivers/misc/eeprom/idt_89hpesx.c

+ 0 - 1
drivers/misc/eeprom/idt_89hpesx.c

@@ -1554,7 +1554,6 @@ MODULE_DEVICE_TABLE(i2c, idt_ids);
 static struct i2c_driver idt_driver = {
 	.driver = {
 		.name = IDT_NAME,
-		.owner = THIS_MODULE,
 	},
 	.probe = idt_probe,
 	.remove = idt_remove,