summaryrefslogtreecommitdiffstats
path: root/sound/soc/fsl/imx-rpmsg.c
diff options
context:
space:
mode:
authorZou Wei <zou_wei@huawei.com>2021-05-27 19:07:32 +0800
committerMark Brown <broonie@kernel.org>2021-05-27 16:25:19 +0100
commit47c0d825b926856d86685a48c82f693f56ca3f6f (patch)
tree23a61f2bdde6f94b58940a69226974a9e8a88207 /sound/soc/fsl/imx-rpmsg.c
parent0ab000e5e57e6dcb34605fbdee92a1b0947606e0 (diff)
downloadlinux-47c0d825b926856d86685a48c82f693f56ca3f6f.tar.bz2
ASoC: imx-rpmsg: fix platform_no_drv_owner.cocci warnings
./sound/soc/fsl/imx-rpmsg.c:140:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Zou Wei <zou_wei@huawei.com> Message-Id: <1622113652-56646-1-git-send-email-zou_wei@huawei.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/fsl/imx-rpmsg.c')
-rw-r--r--sound/soc/fsl/imx-rpmsg.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/fsl/imx-rpmsg.c b/sound/soc/fsl/imx-rpmsg.c
index 5a9a470d203f..f0cae8c59d54 100644
--- a/sound/soc/fsl/imx-rpmsg.c
+++ b/sound/soc/fsl/imx-rpmsg.c
@@ -137,7 +137,6 @@ fail:
static struct platform_driver imx_rpmsg_driver = {
.driver = {
.name = "imx-audio-rpmsg",
- .owner = THIS_MODULE,
.pm = &snd_soc_pm_ops,
},
.probe = imx_rpmsg_probe,