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>
This commit is contained in:
Julia Lawall 2017-01-20 21:57:57 +01:00 committed by Greg Kroah-Hartman
parent acf50ec773
commit 8ade6039b8

View File

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