All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: hdmi-codec: fix platform_no_drv_owner.cocci warnings
@ 2021-03-03  8:54 ` Yang Li
  0 siblings, 0 replies; 10+ messages in thread
From: Yang Li @ 2021-03-03  8:54 UTC (permalink / raw)
  To: timur
  Cc: alsa-devel, linuxppc-dev, linux-kernel, Xiubo.Lee, festevam,
	s.hauer, tiwai, lgirdwood, nicoleotsuka, broonie, Yang Li,
	linux-imx, kernel, shawnguo, shengjiu.wang, linux-arm-kernel

./sound/soc/fsl/imx-hdmi.c:226:3-8: No need to set .owner here. The core
will do it.

Remove .owner field if calls are used which set it automatically

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 sound/soc/fsl/imx-hdmi.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sound/soc/fsl/imx-hdmi.c b/sound/soc/fsl/imx-hdmi.c
index dbbb761..cd0235a 100644
--- a/sound/soc/fsl/imx-hdmi.c
+++ b/sound/soc/fsl/imx-hdmi.c
@@ -223,7 +223,6 @@ static int imx_hdmi_probe(struct platform_device *pdev)
 static struct platform_driver imx_hdmi_driver = {
 	.driver = {
 		.name = "imx-hdmi",
-		.owner = THIS_MODULE,
 		.pm = &snd_soc_pm_ops,
 		.of_match_table = imx_hdmi_dt_ids,
 	},
-- 
1.8.3.1


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

end of thread, other threads:[~2021-03-16 18:02 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-03  8:54 [PATCH] ASoC: hdmi-codec: fix platform_no_drv_owner.cocci warnings Yang Li
2021-03-03  8:54 ` Yang Li
2021-03-03  8:54 ` Yang Li
2021-03-03 13:37 ` Fabio Estevam
2021-03-03 13:37   ` Fabio Estevam
2021-03-03 13:37   ` Fabio Estevam
2021-03-03 13:37   ` Fabio Estevam
2021-03-16 17:59 ` Mark Brown
2021-03-16 17:59   ` Mark Brown
2021-03-16 17:59   ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.