diff options
author | Li Zetao <lizetao1@huawei.com> | 2023-08-08 10:17:28 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-08-08 18:57:14 +0100 |
commit | 8e5c4a9fc47ab6d8e1d9cf6c1f11c90675c1d968 (patch) | |
tree | fdd051dfca61797603b4e3353e65248131e92eec /sound/soc | |
parent | ASoC: amd: acp3x-rt5682-max9836: Configure jack as not detecting Line Out (diff) | |
download | wireguard-linux-8e5c4a9fc47ab6d8e1d9cf6c1f11c90675c1d968.tar.xz wireguard-linux-8e5c4a9fc47ab6d8e1d9cf6c1f11c90675c1d968.zip |
ASoC: imx-audio-rpmsg: Remove redundant initialization owner in imx_audio_rpmsg_driver
The module_rpmsg_driver() will set "THIS_MODULE" to driver.owner when
register a rpmsg_driver driver, so it is redundant initialization to set
driver.owner in the statement. Remove it for clean code.
Signed-off-by: Li Zetao <lizetao1@huawei.com>
Link: https://lore.kernel.org/r/20230808021728.2978035-1-lizetao1@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/fsl/imx-audio-rpmsg.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/fsl/imx-audio-rpmsg.c b/sound/soc/fsl/imx-audio-rpmsg.c index d5234ac4b09b..289e47c03d40 100644 --- a/sound/soc/fsl/imx-audio-rpmsg.c +++ b/sound/soc/fsl/imx-audio-rpmsg.c @@ -116,7 +116,6 @@ static struct rpmsg_device_id imx_audio_rpmsg_id_table[] = { static struct rpmsg_driver imx_audio_rpmsg_driver = { .drv.name = "imx_audio_rpmsg", - .drv.owner = THIS_MODULE, .id_table = imx_audio_rpmsg_id_table, .probe = imx_audio_rpmsg_probe, .callback = imx_audio_rpmsg_cb, |