Thread (10 messages) 10 messages, 4 authors, 2016-02-03
STALE3794d

[PATCH] ASOC: sunxi: fix platform_no_drv_owner.cocci warnings

From: kbuild test robot <hidden>
Date: 2016-02-02 16:02:21
Also in: alsa-devel, lkml

sound/soc/sunxi/sun4i-spdif.c:572: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: Marcus Cooper <redacted>
Signed-off-by: Fengguang Wu <redacted>
---

 sun4i-spdif.c |    1 -
 1 file changed, 1 deletion(-)
--- a/sound/soc/sunxi/sun4i-spdif.c
+++ b/sound/soc/sunxi/sun4i-spdif.c
@@ -569,7 +569,6 @@ static const struct dev_pm_ops sun4i_spd
 static struct platform_driver sun4i_spdif_driver = {
 	.driver		= {
 		.name	= "sun4i-spdif",
-		.owner	= THIS_MODULE,
 		.of_match_table = of_match_ptr(sun4i_spdif_of_match),
 		.pm	= &sun4i_spdif_pm,
 	},
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help