Skip to contentSkip to conversation

watchdog-asm9260: Delete owner assignment

PATCH In review SF Markus Elfring 3 participants 3 messages Aug 15, 2016 – Oct 8, 2016

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 watchdog-asm9260: Delete owner assignment

From: Markus Elfring <[email protected]>
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

---
 drivers/watchdog/asm9260_wdt.c | 1 -
 1 file changed, 1 deletion(-)
drivers/watchdog/asm9260_wdt.c +0 -1
index c9686b2..d0b59ba 100644
@@ -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,
Signature · 1 line
2.9.2