Skip to contentSkip to conversation

sound: soc: fsl: Remove unnecessary THIS_MODULE

PATCH In review Wang Qing 2 participants 2 messages Mar 13, 2021

Subsystems (4)
lore
Share & tools
lore

Wang Qing

author
#0 lore raw

PATCH 1/1 sound: soc: fsl: Remove unnecessary THIS_MODULE

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

---
 sound/soc/fsl/imx-hdmi.c | 1 -
 1 file changed, 1 deletion(-)
sound/soc/fsl/imx-hdmi.c +0 -1
index dbbb761..cd0235a
@@ -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,
 	},
Signature · 1 line
2.7.4
reviewer
#1 lore raw

Hi Wang,

Quoted 4 lines · Wang Qing

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

Thanks for the patch, but someone else has already sent the same.