[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160110104428.GA129317@lkp-ib04>
Date: Sun, 10 Jan 2016 18:44:28 +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/video/backlight/imanager-bl.c:187: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-bl.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/video/backlight/imanager-bl.c
+++ b/drivers/video/backlight/imanager-bl.c
@@ -184,7 +184,6 @@ static int imanager_backlight_remove(str
static struct platform_driver imanager_backlight_driver = {
.driver = {
- .owner = THIS_MODULE,
.name = "imanager_backlight",
},
.probe = imanager_backlight_probe,
Powered by blists - more mailing lists