Commit 8ade6039 authored by Julia Lawall's avatar Julia Lawall Committed by Greg Kroah-Hartman

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: default avatarJulia Lawall <julia.lawall@lip6.fr>
Signed-off-by: default avatarFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent acf50ec7
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment