diff options
author | Yang Li <yang.lee@linux.alibaba.com> | 2021-03-04 10:08:01 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-03-16 14:29:38 +0100 |
commit | 2e2bf6d479616a15c54c4e668558f61caffa4db4 (patch) | |
tree | 577670c17788eff087a656beae996fb8cfcf0d2f /sound/soc/fsl/imx-hdmi.c | |
parent | ASoC: rsnd: core: Check convert rate in rsnd_hw_params (diff) | |
download | linux-2e2bf6d479616a15c54c4e668558f61caffa4db4.tar.xz linux-2e2bf6d479616a15c54c4e668558f61caffa4db4.zip |
ASoC: imx-hdmi: fix platform_no_drv_owner.cocci warnings
./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>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Link: https://lore.kernel.org/r/1614848881-29637-1-git-send-email-yang.lee@linux.alibaba.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/fsl/imx-hdmi.c')
-rw-r--r-- | sound/soc/fsl/imx-hdmi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/fsl/imx-hdmi.c b/sound/soc/fsl/imx-hdmi.c index 1ebcb9a2336b..34a0dceae621 100644 --- a/sound/soc/fsl/imx-hdmi.c +++ b/sound/soc/fsl/imx-hdmi.c @@ -219,7 +219,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, }, |