From 8ade6039b8404a28a7f76eac37a92c464b69499a Mon Sep 17 00:00:00 2001 From: Julia Lawall Date: Fri, 20 Jan 2017 21:57:57 +0100 Subject: [PATCH] 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 Signed-off-by: Julia Lawall Signed-off-by: Fengguang Wu Signed-off-by: Greg Kroah-Hartman --- drivers/misc/eeprom/idt_89hpesx.c | 1 - 1 file changed, 1 deletion(-) 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,