alsa-devel.alsa-project.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

end of thread, other threads:[~2020-11-18 21:02 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).