linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] watchdog-asm9260: Delete owner assignment
@ 2016-08-15 11:53 SF Markus Elfring
  2016-08-15 13:07 ` Guenter Roeck
  2016-10-08 14:12 ` Wim Van Sebroeck
  0 siblings, 2 replies; 3+ messages in thread
From: SF Markus Elfring @ 2016-08-15 11:53 UTC (permalink / raw)
  To: linux-watchdog, Günter Röck, Oleksij Rempel, Wim Van Sebroeck
  Cc: LKML, kernel-janitors, Julia Lawall, Arnd Bergmann

From: Markus Elfring <elfring@users.sourceforge.net>
Date: Mon, 15 Aug 2016 13:34:47 +0200

The field "owner" is set by core. Thus delete an extra initialisation.

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
---
 drivers/watchdog/asm9260_wdt.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/watchdog/asm9260_wdt.c b/drivers/watchdog/asm9260_wdt.c
index c9686b2..d0b59ba 100644
--- a/drivers/watchdog/asm9260_wdt.c
+++ b/drivers/watchdog/asm9260_wdt.c
@@ -389,7 +389,6 @@ MODULE_DEVICE_TABLE(of, asm9260_wdt_of_match);
 static struct platform_driver asm9260_wdt_driver = {
 	.driver = {
 		.name = "asm9260-wdt",
-		.owner = THIS_MODULE,
 		.of_match_table	= asm9260_wdt_of_match,
 	},
 	.probe = asm9260_wdt_probe,
-- 
2.9.2

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-10-08 14:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-15 11:53 [PATCH] watchdog-asm9260: Delete owner assignment SF Markus Elfring
2016-08-15 13:07 ` Guenter Roeck
2016-10-08 14:12 ` Wim Van Sebroeck

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