[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20150622153603.GA149860@lkp-ib03>
Date: Mon, 22 Jun 2015 23:36:03 +0800
From: kbuild test robot <fengguang.wu@...el.com>
To: Marek Belisko <marek@...delico.com>
Cc: kbuild-all@...org, Mark Brown <broonie@...nel.org>,
alsa-devel@...a-project.org, Liam Girdwood <lgirdwood@...il.com>,
Jaroslav Kysela <perex@...ex.cz>, Takashi Iwai <tiwai@...e.de>,
linux-kernel@...r.kernel.org
Subject: [PATCH] ASoC: fix platform_no_drv_owner.cocci warnings
sound/soc/codecs/gtm601.c:86:4-9: 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: Marek Belisko <marek@...delico.com>
Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
---
gtm601.c | 1 -
1 file changed, 1 deletion(-)
--- a/sound/soc/codecs/gtm601.c
+++ b/sound/soc/codecs/gtm601.c
@@ -83,7 +83,6 @@ MODULE_DEVICE_TABLE(of, gtm601_codec_of_
static struct platform_driver gtm601_codec_driver = {
.driver = {
.name = "gtm601",
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(gtm601_codec_of_match),
},
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists