Эх сурвалжийг харах

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>
Markus Elfring 9 жил өмнө
parent
commit
619db74a2b

+ 0 - 1
drivers/watchdog/asm9260_wdt.c

@@ -389,7 +389,6 @@ MODULE_DEVICE_TABLE(of, asm9260_wdt_of_match);
 static struct platform_driver asm9260_wdt_driver = {
 static struct platform_driver asm9260_wdt_driver = {
 	.driver = {
 	.driver = {
 		.name = "asm9260-wdt",
 		.name = "asm9260-wdt",
-		.owner = THIS_MODULE,
 		.of_match_table	= asm9260_wdt_of_match,
 		.of_match_table	= asm9260_wdt_of_match,
 	},
 	},
 	.probe = asm9260_wdt_probe,
 	.probe = asm9260_wdt_probe,