Thread (1 message) 1 message, 1 author, 2015-02-07
DORMANTno replies

[PATCH] ASoC: sirf: atlas7: fix platform_no_drv_owner.cocci warnings

From: kbuild test robot <hidden>
Date: 2015-02-07 22:59:09
Also in: alsa-devel, lkml

sound/soc/sirf/atlas7-iacc.c:625: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: Rongjun Ying <redacted>
Signed-off-by: Fengguang Wu <redacted>
---

 atlas7-iacc.c |    1 -
 1 file changed, 1 deletion(-)
--- a/sound/soc/sirf/atlas7-iacc.c
+++ b/sound/soc/sirf/atlas7-iacc.c
@@ -622,7 +622,6 @@ static const struct dev_pm_ops atlas7_ia
 static struct platform_driver atlas7_iacc_driver = {
 	.driver = {
 		.name = "sirf-atlas7-iacc",
-		.owner = THIS_MODULE,
 		.of_match_table = atlas7_iacc_of_match,
 		.pm = &atlas7_iacc_pm_ops,
 	},
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help