Thread (1 message) 1 message, 1 author, 2015-08-26
STALE4000d

[PATCH] ASoC: rockchip: fix platform_no_drv_owner.cocci warnings

From: kbuild test robot <hidden>
Date: 2015-08-26 11:48:13
Also in: alsa-devel

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

CC: zhengxing <redacted>
Signed-off-by: Fengguang Wu <redacted>
---

 rockchip_rt5645.c |    1 -
 1 file changed, 1 deletion(-)
--- a/sound/soc/rockchip/rockchip_rt5645.c
+++ b/sound/soc/rockchip/rockchip_rt5645.c
@@ -211,7 +211,6 @@ static struct platform_driver snd_rk_mc_
 	.probe = snd_rk_mc_probe,
 	.driver = {
 		.name = DRV_NAME,
-		.owner = THIS_MODULE,
 		.pm = &snd_soc_pm_ops,
 		.of_match_table = rockchip_rt5645_of_match,
 	},
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help