summaryrefslogtreecommitdiff
path: root/drivers/misc/eeprom/idt_89hpesx.c
diff options
context:
space:
mode:
authorJulia Lawall <julia.lawall@lip6.fr>2017-01-20 23:57:57 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-25 13:41:44 +0300
commit8ade6039b8404a28a7f76eac37a92c464b69499a (patch)
tree9ec54655fa3c303e748bdf356637408d1b4d3f64 /drivers/misc/eeprom/idt_89hpesx.c
parentacf50ec773703f7043944aaf957b625a82fc9ce0 (diff)
downloadlinux-8ade6039b8404a28a7f76eac37a92c464b69499a.tar.xz
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/idt_89hpesx.c')
-rw-r--r--drivers/misc/eeprom/idt_89hpesx.c1
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,