diff options
author | Julia Lawall <julia.lawall@lip6.fr> | 2017-01-20 15:57:57 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-25 05:41:44 -0500 |
commit | 8ade6039b8404a28a7f76eac37a92c464b69499a (patch) | |
tree | 9ec54655fa3c303e748bdf356637408d1b4d3f64 /drivers/misc/eeprom | |
parent | acf50ec773703f7043944aaf957b625a82fc9ce0 (diff) |
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>
Diffstat (limited to 'drivers/misc/eeprom')
-rw-r--r-- | drivers/misc/eeprom/idt_89hpesx.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/misc/eeprom/idt_89hpesx.c b/drivers/misc/eeprom/idt_89hpesx.c index 56bc5c2dfe60..4db0d2cb08c6 100644 --- a/drivers/misc/eeprom/idt_89hpesx.c +++ b/drivers/misc/eeprom/idt_89hpesx.c | |||
@@ -1554,7 +1554,6 @@ MODULE_DEVICE_TABLE(i2c, idt_ids); | |||
1554 | static struct i2c_driver idt_driver = { | 1554 | static struct i2c_driver idt_driver = { |
1555 | .driver = { | 1555 | .driver = { |
1556 | .name = IDT_NAME, | 1556 | .name = IDT_NAME, |
1557 | .owner = THIS_MODULE, | ||
1558 | }, | 1557 | }, |
1559 | .probe = idt_probe, | 1558 | .probe = idt_probe, |
1560 | .remove = idt_remove, | 1559 | .remove = idt_remove, |