[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150930182634.GA150317@lkp-ib03>
Date: Thu, 1 Oct 2015 02:26:34 +0800
From: kbuild test robot <lkp@...el.com>
To: codekipper@...il.com
Cc: kbuild-all@...org, maxime.ripard@...e-electrons.com,
lgirdwood@...il.com, linux-arm-kernel@...ts.infradead.org,
broonie@...nel.org, linux-sunxi@...glegroups.com,
linux-kernel@...r.kernel.org, alsa-devel@...a-project.org,
be17068@...rbole.bo.it, Marcus Cooper <codekipper@...il.com>
Subject: [PATCH] ASOC: sunxi: fix platform_no_drv_owner.cocci warnings
sound/soc/sunxi/sun4i-spdif.c:599: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 <codekipper@...il.com>
Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
---
sun4i-spdif.c | 1 -
1 file changed, 1 deletion(-)
--- a/sound/soc/sunxi/sun4i-spdif.c
+++ b/sound/soc/sunxi/sun4i-spdif.c
@@ -596,7 +596,6 @@ static int sun4i_spdif_remove(struct pla
static struct platform_driver sun4i_spdif_driver = {
.driver = {
.name = "sun4i-spdif",
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(sun4i_spdif_of_match),
},
.probe = sun4i_spdif_probe,
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists