linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] ASoC: samsung: fix platform_no_drv_owner.cocci warnings
@ 2020-11-16 12:29 Zou Wei
  2020-11-17 19:44 ` Krzysztof Kozlowski
  2020-11-18 20:59 ` Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Zou Wei @ 2020-11-16 12:29 UTC (permalink / raw)
  To: krzk, s.nawrocki, lgirdwood, broonie, perex, tiwai
  Cc: alsa-devel, linux-kernel, Zou Wei

./sound/soc/samsung/midas_wm1811.c:534: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

Signed-off-by: Zou Wei <zou_wei@huawei.com>
---
 sound/soc/samsung/midas_wm1811.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sound/soc/samsung/midas_wm1811.c b/sound/soc/samsung/midas_wm1811.c
index d03340c..1f9a553 100644
--- a/sound/soc/samsung/midas_wm1811.c
+++ b/sound/soc/samsung/midas_wm1811.c
@@ -531,7 +531,6 @@ static struct platform_driver midas_driver = {
 	.driver = {
 		.name = "midas-audio",
 		.of_match_table = midas_of_match,
-		.owner = THIS_MODULE,
 		.pm = &snd_soc_pm_ops,
 	},
 	.probe = midas_probe,
-- 
2.6.2


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

* Re: [PATCH -next] ASoC: samsung: fix platform_no_drv_owner.cocci warnings
  2020-11-16 12:29 [PATCH -next] ASoC: samsung: fix platform_no_drv_owner.cocci warnings Zou Wei
@ 2020-11-17 19:44 ` Krzysztof Kozlowski
  2020-11-18 20:59 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2020-11-17 19:44 UTC (permalink / raw)
  To: Zou Wei
  Cc: s.nawrocki, lgirdwood, broonie, perex, tiwai, alsa-devel, linux-kernel

On Mon, Nov 16, 2020 at 08:29:00PM +0800, Zou Wei wrote:
> ./sound/soc/samsung/midas_wm1811.c:534: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
> 
> Signed-off-by: Zou Wei <zou_wei@huawei.com>
> ---
>  sound/soc/samsung/midas_wm1811.c | 1 -
>  1 file changed, 1 deletion(-)
> 

Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>

Best regards,
Krzysztof

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

* Re: [PATCH -next] ASoC: samsung: fix platform_no_drv_owner.cocci warnings
  2020-11-16 12:29 [PATCH -next] ASoC: samsung: fix platform_no_drv_owner.cocci warnings Zou Wei
  2020-11-17 19:44 ` Krzysztof Kozlowski
@ 2020-11-18 20:59 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2020-11-18 20:59 UTC (permalink / raw)
  To: s.nawrocki, perex, tiwai, krzk, Zou Wei, lgirdwood
  Cc: linux-kernel, alsa-devel

On Mon, 16 Nov 2020 20:29:00 +0800, Zou Wei wrote:
> ./sound/soc/samsung/midas_wm1811.c:534: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

Applied to

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

Thanks!

[1/1] ASoC: samsung: fix platform_no_drv_owner.cocci warnings
      commit: 45f366ec7941932d1a14576f3bd73d831fe9da95

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

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

end of thread, other threads:[~2020-11-18 21:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-16 12:29 [PATCH -next] ASoC: samsung: fix platform_no_drv_owner.cocci warnings Zou Wei
2020-11-17 19:44 ` Krzysztof Kozlowski
2020-11-18 20:59 ` 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).