linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] eeprom: fix platform_no_drv_owner.cocci warnings
@ 2017-01-20 20:57 Julia Lawall
  0 siblings, 0 replies; only message in thread
From: Julia Lawall @ 2017-01-20 20:57 UTC (permalink / raw)
  To: Serge Semin; +Cc: Greg Kroah-Hartman, linux-kernel, kbuild-all

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>
---

tree:
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git
char-misc-testing
head:   7a11a1d1b58873b2e5a6922dcdc23b6b339b14ba
commit: cfad6425382ec81acd073fdf24361e1c30b4cb36 [22/32] eeprom: Add IDT
89HPESx EEPROM/CSR driver


 idt_89hpesx.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/misc/eeprom/idt_89hpesx.c
+++ b/drivers/misc/eeprom/idt_89hpesx.c
@@ -1552,7 +1552,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,

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-01-20 20:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-20 20:57 [PATCH] eeprom: fix platform_no_drv_owner.cocci warnings Julia Lawall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).