LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] ASoC: rt1305: fix platform_no_drv_owner.cocci warnings
       [not found] <201804170321.o4jkfmnc%fengguang.wu@intel.com>
@ 2018-04-16 19:41 ` kbuild test robot
  2018-04-17 10:30   ` Applied "ASoC: rt1305: fix platform_no_drv_owner.cocci warnings" to the asoc tree Mark Brown
                     ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: kbuild test robot @ 2018-04-16 19:41 UTC (permalink / raw)
  To: Shuming Fan
  Cc: kbuild-all, alsa-devel, Mark Brown, Bard Liao, Oder Chiou,
	Liam Girdwood, Jaroslav Kysela, Takashi Iwai, linux-kernel

From: Fengguang Wu <fengguang.wu@intel.com>

sound/soc/codecs/rt1305.c:1174: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

Fixes: 29bc643ddd7e ("ASoC: rt1305: Add RT1305/RT1306 amplifier driver")
CC: Shuming Fan <shumingf@realtek.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

 rt1305.c |    1 -
 1 file changed, 1 deletion(-)

--- a/sound/soc/codecs/rt1305.c
+++ b/sound/soc/codecs/rt1305.c
@@ -1171,7 +1171,6 @@ static void rt1305_i2c_shutdown(struct i
 static struct i2c_driver rt1305_i2c_driver = {
 	.driver = {
 		.name = "rt1305",
-		.owner = THIS_MODULE,
 #if defined(CONFIG_OF)
 		.of_match_table = rt1305_of_match,
 #endif

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

* Applied "ASoC: rt1305: fix platform_no_drv_owner.cocci warnings" to the asoc tree
  2018-04-16 19:41 ` [PATCH] ASoC: rt1305: fix platform_no_drv_owner.cocci warnings kbuild test robot
@ 2018-04-17 10:30   ` Mark Brown
  2018-04-17 10:32   ` Mark Brown
  2018-04-17 11:29   ` Mark Brown
  2 siblings, 0 replies; 4+ messages in thread
From: Mark Brown @ 2018-04-17 10:30 UTC (permalink / raw)
  To: Fengguang Wu
  Cc: Mark Brown, Shuming Fan, Oder Chiou, alsa-devel, linux-kernel,
	Takashi Iwai, Liam Girdwood, Mark Brown, kbuild-all, Bard Liao,
	alsa-devel

The patch

   ASoC: rt1305: 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 

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 b999a19b3324ae3538bc13d11210bdfc8016616a Mon Sep 17 00:00:00 2001
From: Fengguang Wu <fengguang.wu@intel.com>
Date: Tue, 17 Apr 2018 03:41:24 +0800
Subject: [PATCH] ASoC: rt1305: fix platform_no_drv_owner.cocci warnings

sound/soc/codecs/rt1305.c:1174: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

Fixes: 29bc643ddd7e ("ASoC: rt1305: Add RT1305/RT1306 amplifier driver")
CC: Shuming Fan <shumingf@realtek.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/codecs/rt1305.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sound/soc/codecs/rt1305.c b/sound/soc/codecs/rt1305.c
index 84043068c0b7..f4c8c45f4010 100644
--- a/sound/soc/codecs/rt1305.c
+++ b/sound/soc/codecs/rt1305.c
@@ -1172,7 +1172,6 @@ static void rt1305_i2c_shutdown(struct i2c_client *client)
 static struct i2c_driver rt1305_i2c_driver = {
 	.driver = {
 		.name = "rt1305",
-		.owner = THIS_MODULE,
 #if defined(CONFIG_OF)
 		.of_match_table = rt1305_of_match,
 #endif
-- 
2.17.0

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

* Applied "ASoC: rt1305: fix platform_no_drv_owner.cocci warnings" to the asoc tree
  2018-04-16 19:41 ` [PATCH] ASoC: rt1305: fix platform_no_drv_owner.cocci warnings kbuild test robot
  2018-04-17 10:30   ` Applied "ASoC: rt1305: fix platform_no_drv_owner.cocci warnings" to the asoc tree Mark Brown
@ 2018-04-17 10:32   ` Mark Brown
  2018-04-17 11:29   ` Mark Brown
  2 siblings, 0 replies; 4+ messages in thread
From: Mark Brown @ 2018-04-17 10:32 UTC (permalink / raw)
  To: Fengguang Wu
  Cc: Mark Brown, Shuming Fan, Oder Chiou, alsa-devel, linux-kernel,
	Takashi Iwai, Liam Girdwood, Mark Brown, kbuild-all, Bard Liao,
	alsa-devel

The patch

   ASoC: rt1305: 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 

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 b999a19b3324ae3538bc13d11210bdfc8016616a Mon Sep 17 00:00:00 2001
From: Fengguang Wu <fengguang.wu@intel.com>
Date: Tue, 17 Apr 2018 03:41:24 +0800
Subject: [PATCH] ASoC: rt1305: fix platform_no_drv_owner.cocci warnings

sound/soc/codecs/rt1305.c:1174: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

Fixes: 29bc643ddd7e ("ASoC: rt1305: Add RT1305/RT1306 amplifier driver")
CC: Shuming Fan <shumingf@realtek.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/codecs/rt1305.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sound/soc/codecs/rt1305.c b/sound/soc/codecs/rt1305.c
index 84043068c0b7..f4c8c45f4010 100644
--- a/sound/soc/codecs/rt1305.c
+++ b/sound/soc/codecs/rt1305.c
@@ -1172,7 +1172,6 @@ static void rt1305_i2c_shutdown(struct i2c_client *client)
 static struct i2c_driver rt1305_i2c_driver = {
 	.driver = {
 		.name = "rt1305",
-		.owner = THIS_MODULE,
 #if defined(CONFIG_OF)
 		.of_match_table = rt1305_of_match,
 #endif
-- 
2.17.0

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

* Applied "ASoC: rt1305: fix platform_no_drv_owner.cocci warnings" to the asoc tree
  2018-04-16 19:41 ` [PATCH] ASoC: rt1305: fix platform_no_drv_owner.cocci warnings kbuild test robot
  2018-04-17 10:30   ` Applied "ASoC: rt1305: fix platform_no_drv_owner.cocci warnings" to the asoc tree Mark Brown
  2018-04-17 10:32   ` Mark Brown
@ 2018-04-17 11:29   ` Mark Brown
  2 siblings, 0 replies; 4+ messages in thread
From: Mark Brown @ 2018-04-17 11:29 UTC (permalink / raw)
  To: Fengguang Wu
  Cc: Mark Brown, Shuming Fan, Oder Chiou, alsa-devel, linux-kernel,
	Takashi Iwai, Liam Girdwood, Mark Brown, kbuild-all, Bard Liao,
	alsa-devel

The patch

   ASoC: rt1305: 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 

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 b999a19b3324ae3538bc13d11210bdfc8016616a Mon Sep 17 00:00:00 2001
From: Fengguang Wu <fengguang.wu@intel.com>
Date: Tue, 17 Apr 2018 03:41:24 +0800
Subject: [PATCH] ASoC: rt1305: fix platform_no_drv_owner.cocci warnings

sound/soc/codecs/rt1305.c:1174: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

Fixes: 29bc643ddd7e ("ASoC: rt1305: Add RT1305/RT1306 amplifier driver")
CC: Shuming Fan <shumingf@realtek.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/codecs/rt1305.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sound/soc/codecs/rt1305.c b/sound/soc/codecs/rt1305.c
index 84043068c0b7..f4c8c45f4010 100644
--- a/sound/soc/codecs/rt1305.c
+++ b/sound/soc/codecs/rt1305.c
@@ -1172,7 +1172,6 @@ static void rt1305_i2c_shutdown(struct i2c_client *client)
 static struct i2c_driver rt1305_i2c_driver = {
 	.driver = {
 		.name = "rt1305",
-		.owner = THIS_MODULE,
 #if defined(CONFIG_OF)
 		.of_match_table = rt1305_of_match,
 #endif
-- 
2.17.0

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

end of thread, other threads:[~2018-04-17 11:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <201804170321.o4jkfmnc%fengguang.wu@intel.com>
2018-04-16 19:41 ` [PATCH] ASoC: rt1305: fix platform_no_drv_owner.cocci warnings kbuild test robot
2018-04-17 10:30   ` Applied "ASoC: rt1305: fix platform_no_drv_owner.cocci warnings" to the asoc tree Mark Brown
2018-04-17 10:32   ` Mark Brown
2018-04-17 11:29   ` 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).