From: Julia Lawall Date: Fri, 20 Jan 2017 20:57:57 +0000 (+0100) Subject: eeprom: fix platform_no_drv_owner.cocci warnings X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8ade6039b8404a28a7f76eac37a92c464b69499a;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 --- 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,