[PATCH] sound: soc: fsl: Remove unnecessary THIS_MODULE

Subsystems: freescale soc sound drivers, sound, sound - soc layer / dynamic audio power management (asoc), the rest

STALE2002d

2 messages, 2 authors, 2021-03-13 · open the first message on its own page

[PATCH] sound: soc: fsl: Remove unnecessary THIS_MODULE

From: Wang Qing <hidden>
Date: 2021-03-13 08:24:41

As THIS_MODULE has been set in module_platform_driver(), so remove it.

Signed-off-by: Wang Qing <redacted>
---
 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
--- a/sound/soc/fsl/imx-hdmi.c
+++ b/sound/soc/fsl/imx-hdmi.c
@@ -223,7 +223,6 @@ MODULE_DEVICE_TABLE(of, imx_hdmi_dt_ids);
 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,
 	},
-- 
2.7.4

Re: [PATCH] sound: soc: fsl: Remove unnecessary THIS_MODULE

From: Fabio Estevam <festevam@gmail.com>
Date: 2021-03-13 20:27:14

Hi Wang,

On Sat, Mar 13, 2021 at 5:25 AM Wang Qing [off-list ref] wrote:
As THIS_MODULE has been set in module_platform_driver(), so remove it.

Signed-off-by: Wang Qing <redacted>
Thanks for the patch, but someone else has already sent the same.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help