[PATCH] fix platform_no_drv_owner.cocci warnings
From: kbuild test robot
Date: Fri Jan 08 2016 - 21:04:43 EST
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 <richard.dorsch@xxxxxxxxx>
Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
---
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,