summary refs log tree commit diff
path: root/drivers/watchdog/asm9260_wdt.c
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2016-08-15 13:34:47 +0200
committerWim Van Sebroeck <wim@iguana.be>2016-09-23 22:35:45 +0200
commit619db74a2ba076d33097f49b17c93369666ac6f5 (patch)
treed50d1f81b4ac4595a98773a3d8d68246e79acb82 /drivers/watchdog/asm9260_wdt.c
parent217209db0204ae1fa5f30af804525863e852c35d (diff)
downloadlinux-619db74a2ba076d33097f49b17c93369666ac6f5.tar.gz
watchdog-asm9260: Delete owner assignment
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>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/asm9260_wdt.c')
-rw-r--r--drivers/watchdog/asm9260_wdt.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/watchdog/asm9260_wdt.c b/drivers/watchdog/asm9260_wdt.c
index c9686b2fdafd..d0b59ba0f661 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,