From: YueHaibing Date: Thu, 16 Jan 2020 02:33:44 +0000 (+0000) Subject: regulator: vqmmc-ipq4019: Fix platform_no_drv_owner.cocci warnings X-Git-Tag: v5.15~4376^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=493a31ee0dbdb58d23aa3b06da2da7901f55f76b;p=platform%2Fkernel%2Flinux-starfive.git 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 Link: https://lore.kernel.org/r/20200116023344.163592-1-yuehaibing@huawei.com Signed-off-by: Mark Brown --- diff --git a/drivers/regulator/vqmmc-ipq4019-regulator.c b/drivers/regulator/vqmmc-ipq4019-regulator.c index 685b585..6d5ae25d 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), }, };