ASoC: imx-rpmsg: fix platform_no_drv_owner.cocci warnings
authorZou Wei <zou_wei@huawei.com>
Thu, 27 May 2021 11:07:32 +0000 (19:07 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 27 May 2021 15:25:19 +0000 (16:25 +0100)
commit47c0d825b926856d86685a48c82f693f56ca3f6f
tree23a61f2bdde6f94b58940a69226974a9e8a88207
parent0ab000e5e57e6dcb34605fbdee92a1b0947606e0
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>
sound/soc/fsl/imx-rpmsg.c