[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180318203832.GA74597@lkp-hsx03.lkp.intel.com>
Date: Mon, 19 Mar 2018 04:38:32 +0800
From: kbuild test robot <lkp@...el.com>
To: David Collins <collinsd@...eaurora.org>
Cc: kbuild-all@...org, broonie@...nel.org, lgirdwood@...il.com,
robh+dt@...nel.org, mark.rutland@....com,
David Collins <collinsd@...eaurora.org>,
linux-arm-msm@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-arm@...ts.infradead.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, rnayak@...eaurora.org,
sboyd@...nel.org
Subject: [PATCH] regulator: fix platform_no_drv_owner.cocci warnings
From: Fengguang Wu <fengguang.wu@...el.com>
drivers/regulator/qcom_rpmh-regulator.c:1104: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
Fixes: 835fda5b6c24 ("regulator: add QCOM RPMh regulator driver")
CC: David Collins <collinsd@...eaurora.org>
Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
---
qcom_rpmh-regulator.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/regulator/qcom_rpmh-regulator.c
+++ b/drivers/regulator/qcom_rpmh-regulator.c
@@ -1101,7 +1101,6 @@ static struct platform_driver rpmh_regul
.driver = {
.name = "qcom-rpmh-regulator",
.of_match_table = rpmh_regulator_match_table,
- .owner = THIS_MODULE,
},
.probe = rpmh_regulator_probe,
.remove = rpmh_regulator_remove,
Powered by blists - more mailing lists