Message ID | 1605529740-68757-1-git-send-email-zou_wei@huawei.com |
---|---|
State | Accepted |
Commit | 45f366ec7941932d1a14576f3bd73d831fe9da95 |
Headers | show |
Series | [-next] ASoC: samsung: fix platform_no_drv_owner.cocci warnings | expand |
On Mon, Nov 16, 2020 at 08:29:00PM +0800, Zou Wei wrote: > ./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> > --- > sound/soc/samsung/midas_wm1811.c | 1 - > 1 file changed, 1 deletion(-) > Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org> Best regards, Krzysztof
diff --git a/sound/soc/samsung/midas_wm1811.c b/sound/soc/samsung/midas_wm1811.c index d03340c..1f9a553 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,
./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> --- sound/soc/samsung/midas_wm1811.c | 1 - 1 file changed, 1 deletion(-)