kernel-janitors.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] ASoC: rt1308: Fix platform_no_drv_owner.cocci warnings
@ 2019-07-02  6:17 YueHaibing
  2019-07-02 13:04 ` Applied "ASoC: rt1308: Fix platform_no_drv_owner.cocci warnings" to the asoc tree Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: YueHaibing @ 2019-07-02  6:17 UTC (permalink / raw)
  To: Bard Liao, Oder Chiou, Liam Girdwood, Mark Brown,
	Jaroslav Kysela, Takashi Iwai
  Cc: kernel-janitors, alsa-devel, YueHaibing, linux-kernel

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>
---
 sound/soc/codecs/rt1308.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sound/soc/codecs/rt1308.c b/sound/soc/codecs/rt1308.c
index 619a630e982e..d673506c7c39 100755
--- a/sound/soc/codecs/rt1308.c
+++ b/sound/soc/codecs/rt1308.c
@@ -884,7 +884,6 @@ static void rt1308_i2c_shutdown(struct i2c_client *client)
 static struct i2c_driver rt1308_i2c_driver = {
 	.driver = {
 		.name = "rt1308",
-		.owner = THIS_MODULE,
 		.of_match_table = of_match_ptr(rt1308_of_match),
 		.acpi_match_table = ACPI_PTR(rt1308_acpi_match),
 	},

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

* Applied "ASoC: rt1308: Fix platform_no_drv_owner.cocci warnings" to the asoc tree
  2019-07-02  6:17 [PATCH -next] ASoC: rt1308: Fix platform_no_drv_owner.cocci warnings YueHaibing
@ 2019-07-02 13:04 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2019-07-02 13:04 UTC (permalink / raw)
  To: YueHaibing
  Cc: alsa-devel, Bard Liao, Jaroslav Kysela, kernel-janitors,
	Liam Girdwood, linux-kernel, Mark Brown, Oder Chiou,
	Takashi Iwai

The patch

   ASoC: rt1308: Fix platform_no_drv_owner.cocci warnings

has been applied to the asoc tree at

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.3

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 2d2e331697bfba9dcc59217b1fcbfa2c144f0659 Mon Sep 17 00:00:00 2001
From: YueHaibing <yuehaibing@huawei.com>
Date: Tue, 2 Jul 2019 06:17:38 +0000
Subject: [PATCH] ASoC: rt1308: 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>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/codecs/rt1308.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sound/soc/codecs/rt1308.c b/sound/soc/codecs/rt1308.c
index 619a630e982e..d673506c7c39 100755
--- a/sound/soc/codecs/rt1308.c
+++ b/sound/soc/codecs/rt1308.c
@@ -884,7 +884,6 @@ static void rt1308_i2c_shutdown(struct i2c_client *client)
 static struct i2c_driver rt1308_i2c_driver = {
 	.driver = {
 		.name = "rt1308",
-		.owner = THIS_MODULE,
 		.of_match_table = of_match_ptr(rt1308_of_match),
 		.acpi_match_table = ACPI_PTR(rt1308_acpi_match),
 	},
-- 
2.20.1

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

end of thread, other threads:[~2019-07-02 13:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-02  6:17 [PATCH -next] ASoC: rt1308: Fix platform_no_drv_owner.cocci warnings YueHaibing
2019-07-02 13:04 ` Applied "ASoC: rt1308: Fix platform_no_drv_owner.cocci warnings" to the asoc 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).