[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20151215132918.GA54076@lkp-hsx03>
Date: Tue, 15 Dec 2015 21:29:18 +0800
From: kbuild test robot <lkp@...el.com>
To: Chen Feng <puck.chen@...ilicon.com>
Cc: kbuild-all@...org, lee.jones@...aro.org,
linux-kernel@...r.kernel.org, lgirdwood@...il.com,
broonie@...nel.org, robh+dt@...nel.org, pawel.moll@....com,
mark.rutland@....com, ijc+devicetree@...lion.org.uk,
galak@...eaurora.org, xuwei5@...ilicon.com,
puck.chen@...ilicon.com, puck.chen@...yun.com,
yudongbin@...ilicon.com, saberlily.xia@...ilicon.com,
suzhuangluan@...ilicon.com, kong.kongxinwei@...ilicon.com,
xuyiping@...ilicon.com, z.liuxinliang@...ilicon.com,
weidong2@...ilicon.com, w.f@...wei.com, qijiwen@...ilicon.com,
peter.panshilin@...ilicon.com, dan.zhao@...ilicon.com,
linuxarm@...wei.com
Subject: [PATCH] mfd: hi655x: fix platform_no_drv_owner.cocci warnings
drivers/mfd/hi655x-pmic.c:161: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: Chen Feng <puck.chen@...ilicon.com>
Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
---
hi655x-pmic.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/mfd/hi655x-pmic.c
+++ b/drivers/mfd/hi655x-pmic.c
@@ -158,7 +158,6 @@ static int hi655x_pmic_probe(struct plat
static struct platform_driver hi655x_pmic_driver = {
.driver = {
.name = "hi655x-pmic",
- .owner = THIS_MODULE,
.of_match_table = of_hi655x_pmic_match_tbl,
},
.probe = hi655x_pmic_probe,
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists