summaryrefslogtreecommitdiff
path: root/drivers/regulator
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2020-01-16 05:33:44 +0300
committerMark Brown <broonie@kernel.org>2020-01-17 18:34:21 +0300
commit493a31ee0dbdb58d23aa3b06da2da7901f55f76b (patch)
treea62e907fb928d9aae1a1b0ae2472d74ecc381485 /drivers/regulator
parent5b379b2bf87710834ed90d367acb58e652e624af (diff)
downloadlinux-493a31ee0dbdb58d23aa3b06da2da7901f55f76b.tar.xz
regulator: vqmmc-ipq4019: Fix platform_no_drv_owner.cocci warnings
Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: YueHaibing <yuehaibing@huawei.com> Link: https://lore.kernel.org/r/20200116023344.163592-1-yuehaibing@huawei.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/vqmmc-ipq4019-regulator.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/regulator/vqmmc-ipq4019-regulator.c b/drivers/regulator/vqmmc-ipq4019-regulator.c
index 685b585b39a1..6d5ae25d08d1 100644
--- a/drivers/regulator/vqmmc-ipq4019-regulator.c
+++ b/drivers/regulator/vqmmc-ipq4019-regulator.c
@@ -91,7 +91,6 @@ static struct platform_driver ipq4019_regulator_driver = {
.probe = ipq4019_regulator_probe,
.driver = {
.name = "vqmmc-ipq4019-regulator",
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(regulator_ipq4019_of_match),
},
};