linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] regulator: vqmmc-ipq4019: Fix platform_no_drv_owner.cocci warnings
@ 2020-01-16  2:33 YueHaibing
  2020-01-17 15:44 ` Applied "regulator: vqmmc-ipq4019: Fix platform_no_drv_owner.cocci warnings" to the regulator tree Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: YueHaibing @ 2020-01-16  2:33 UTC (permalink / raw)
  To: Liam Girdwood, Robert Marko, Axel Lin, Mark Brown
  Cc: YueHaibing, linux-kernel, kernel-janitors

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>
---
 drivers/regulator/vqmmc-ipq4019-regulator.c | 1 -
 1 file changed, 1 deletion(-)

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),
 	},
 };




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Applied "regulator: vqmmc-ipq4019: Fix platform_no_drv_owner.cocci warnings" to the regulator tree
  2020-01-16  2:33 [PATCH -next] regulator: vqmmc-ipq4019: Fix platform_no_drv_owner.cocci warnings YueHaibing
@ 2020-01-17 15:44 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2020-01-17 15:44 UTC (permalink / raw)
  To: YueHaibing
  Cc: Axel Lin, kernel-janitors, Liam Girdwood, linux-kernel,
	Mark Brown, Robert Marko

The patch

   regulator: vqmmc-ipq4019: Fix platform_no_drv_owner.cocci warnings

has been applied to the regulator tree at

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-5.6

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

From 493a31ee0dbdb58d23aa3b06da2da7901f55f76b Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Thu, 16 Jan 2020 02:33:44 +0000
Subject: [PATCH] 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>
---
 drivers/regulator/vqmmc-ipq4019-regulator.c | 1 -
 1 file changed, 1 deletion(-)

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),
 	},
 };
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-01-17 15:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-16  2:33 [PATCH -next] regulator: vqmmc-ipq4019: Fix platform_no_drv_owner.cocci warnings YueHaibing
2020-01-17 15:44 ` Applied "regulator: vqmmc-ipq4019: Fix platform_no_drv_owner.cocci warnings" to the regulator tree Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).