summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorZou Wei <zou_wei@huawei.com>2021-05-27 11:54:04 +0200
committerMark Brown <broonie@kernel.org>2021-05-27 12:15:36 +0200
commitd149b855b955fe92ab16ddd59c1d540f82e6a40f (patch)
treead8ff99061fc5b77eeddc175fa618c4dff206e46 /drivers
parentregulator: rk808: Convert to use regulator_set_ramp_delay_regmap (diff)
downloadlinux-d149b855b955fe92ab16ddd59c1d540f82e6a40f.tar.xz
linux-d149b855b955fe92ab16ddd59c1d540f82e6a40f.zip
regulator: bd71815: fix platform_no_drv_owner.cocci warnings
./drivers/regulator/bd71815-regulator.c:644: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 Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Zou Wei <zou_wei@huawei.com> Acked-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> Message-Id: <1622109244-54739-1-git-send-email-zou_wei@huawei.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/regulator/bd71815-regulator.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/regulator/bd71815-regulator.c b/drivers/regulator/bd71815-regulator.c
index a079efa80092..4dd21ac24ddf 100644
--- a/drivers/regulator/bd71815-regulator.c
+++ b/drivers/regulator/bd71815-regulator.c
@@ -641,7 +641,6 @@ MODULE_DEVICE_TABLE(platform, bd7181x_pmic_id);
static struct platform_driver bd7181x_regulator = {
.driver = {
.name = "bd7181x-pmic",
- .owner = THIS_MODULE,
},
.probe = bd7181x_probe,
.id_table = bd7181x_pmic_id,