diff options
author | Zou Wei <zou_wei@huawei.com> | 2020-11-16 20:29:00 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-11-18 18:00:24 +0000 |
commit | 45f366ec7941932d1a14576f3bd73d831fe9da95 (patch) | |
tree | 4d3973ce8de51138a0ac351289ea716eb5ad4659 | |
parent | b88b31f4fa0abcd698045362d4aefcddc50cba59 (diff) | |
download | linux-45f366ec7941932d1a14576f3bd73d831fe9da95.tar.bz2 |
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: Zou Wei <zou_wei@huawei.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/1605529740-68757-1-git-send-email-zou_wei@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/samsung/midas_wm1811.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/samsung/midas_wm1811.c b/sound/soc/samsung/midas_wm1811.c index d03340ce49a2..1f9a553edf19 100644 --- a/sound/soc/samsung/midas_wm1811.c +++ b/sound/soc/samsung/midas_wm1811.c @@ -531,7 +531,6 @@ static struct platform_driver midas_driver = { .driver = { .name = "midas-audio", .of_match_table = midas_of_match, - .owner = THIS_MODULE, .pm = &snd_soc_pm_ops, }, .probe = midas_probe, |