mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-03 17:14:14 +08:00
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>
This commit is contained in:
parent
94c40dbbff
commit
8e5c4a9fc4
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user