[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160109020221.GA79318@cairo>
Date: Sat, 9 Jan 2016 10:02:21 +0800
From: kbuild test robot <lkp@...el.com>
To: richard.dorsch@...il.com
Cc: kbuild-all@...org, linux-kernel@...r.kernel.org,
lm-sensors@...sensors.org, linux-i2c@...r.kernel.org,
linux-watchdog@...r.kernel.org, linux-gpio@...r.kernel.org,
lee.jones@...aro.org, jdelvare@...e.com, linux@...ck-us.net,
wim@...ana.be, jo.sunga@...antech.com,
Richard Vidal-Dorsch <richard.dorsch@...il.com>
Subject: [PATCH] fix platform_no_drv_owner.cocci warnings
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@...il.com>
Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
---
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,
Powered by blists - more mailing lists