[PATCH] fix platform_no_drv_owner.cocci warnings
From: kbuild test robot <hidden>
Date: 2016-01-09 02:04:04
Also in:
linux-i2c, linux-watchdog, lkml
From: kbuild test robot <hidden>
Date: 2016-01-09 02:04:04
Also in:
linux-i2c, linux-watchdog, lkml
drivers/watchdog/imanager-wdt.c:322:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci CC: Richard Vidal-Dorsch <redacted> Signed-off-by: Fengguang Wu <redacted> --- imanager-wdt.c | 1 - 1 file changed, 1 deletion(-)
--- a/drivers/watchdog/imanager-wdt.c
+++ b/drivers/watchdog/imanager-wdt.c@@ -319,7 +319,6 @@ static int imanager_wdt_remove(struct pl static struct platform_driver imanager_wdt_driver = { .driver = { - .owner = THIS_MODULE, .name = "imanager_wdt", }, .probe = imanager_wdt_probe, --
To unsubscribe from this list: send the line "unsubscribe linux-watchdog" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html