Commit 1c0beb27 authored by kbuild test robot's avatar kbuild test robot Committed by Mark Brown

ASoC: rockchip: fix platform_no_drv_owner.cocci warnings

sound/soc/rockchip/rockchip_rt5645.c:214: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
Signed-off-by: default avatarFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 0137d5ff
...@@ -211,7 +211,6 @@ static struct platform_driver snd_rk_mc_driver = { ...@@ -211,7 +211,6 @@ static struct platform_driver snd_rk_mc_driver = {
.probe = snd_rk_mc_probe, .probe = snd_rk_mc_probe,
.driver = { .driver = {
.name = DRV_NAME, .name = DRV_NAME,
.owner = THIS_MODULE,
.pm = &snd_soc_pm_ops, .pm = &snd_soc_pm_ops,
.of_match_table = rockchip_rt5645_of_match, .of_match_table = rockchip_rt5645_of_match,
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment