diff options
author | Julia Lawall <julia.lawall@lip6.fr> | 2017-01-20 21:57:57 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-25 11:41:44 +0100 |
commit | 8ade6039b8404a28a7f76eac37a92c464b69499a (patch) | |
tree | 9ec54655fa3c303e748bdf356637408d1b4d3f64 /drivers/misc | |
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')
-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); static struct i2c_driver idt_driver = { .driver = { .name = IDT_NAME, - .owner = THIS_MODULE, }, .probe = idt_probe, .remove = idt_remove, |