mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 05:11:48 +00:00
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:
parent
acf50ec773
commit
8ade6039b8
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user