Commit 45f366ec authored by Zou Wei's avatar Zou Wei Committed by Mark Brown

ASoC: samsung: fix platform_no_drv_owner.cocci warnings

./sound/soc/samsung/midas_wm1811.c:534: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 avatarZou Wei <zou_wei@huawei.com>
Reviewed-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/1605529740-68757-1-git-send-email-zou_wei@huawei.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent b88b31f4
...@@ -531,7 +531,6 @@ static struct platform_driver midas_driver = { ...@@ -531,7 +531,6 @@ static struct platform_driver midas_driver = {
.driver = { .driver = {
.name = "midas-audio", .name = "midas-audio",
.of_match_table = midas_of_match, .of_match_table = midas_of_match,
.owner = THIS_MODULE,
.pm = &snd_soc_pm_ops, .pm = &snd_soc_pm_ops,
}, },
.probe = midas_probe, .probe = midas_probe,
......
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