Message ID | 1615623820-16592-1-git-send-email-wangqing@vivo.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | sound: soc: fsl: Remove unnecessary THIS_MODULE | expand |
Hi Wang, On Sat, Mar 13, 2021 at 5:25 AM Wang Qing <wangqing@vivo.com> wrote: > > As THIS_MODULE has been set in module_platform_driver(), so remove it. > > Signed-off-by: Wang Qing <wangqing@vivo.com> Thanks for the patch, but someone else has already sent the same.
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, },
As THIS_MODULE has been set in module_platform_driver(), so remove it. Signed-off-by: Wang Qing <wangqing@vivo.com> --- sound/soc/fsl/imx-hdmi.c | 1 - 1 file changed, 1 deletion(-)