[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20150207225830.GA6510@waimea>
Date: Sun, 8 Feb 2015 06:58:30 +0800
From: kbuild test robot <fengguang.wu@...el.com>
To: Rongjun Ying <rongjun.ying@....com>
Cc: kbuild-all@...org, Barry Song <Barry.Song@....com>,
Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>,
Jaroslav Kysela <perex@...ex.cz>, Takashi Iwai <tiwai@...e.de>,
alsa-devel@...a-project.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] ASoC: sirf: atlas7: fix platform_no_drv_owner.cocci warnings
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 <rongjun.ying@....com>
Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
---
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,
},
--
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