提交 8ade6039 编写于 作者: J Julia Lawall 提交者: 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: NJulia Lawall <julia.lawall@lip6.fr>
Signed-off-by: NFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 acf50ec7
...@@ -1554,7 +1554,6 @@ MODULE_DEVICE_TABLE(i2c, idt_ids); ...@@ -1554,7 +1554,6 @@ MODULE_DEVICE_TABLE(i2c, idt_ids);
static struct i2c_driver idt_driver = { static struct i2c_driver idt_driver = {
.driver = { .driver = {
.name = IDT_NAME, .name = IDT_NAME,
.owner = THIS_MODULE,
}, },
.probe = idt_probe, .probe = idt_probe,
.remove = idt_remove, .remove = idt_remove,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册