[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20141221144043.GA58352@athens>
Date: Sun, 21 Dec 2014 22:40:43 +0800
From: kbuild test robot <fengguang.wu@...el.com>
To: Mengdong Lin <mengdong.lin@...el.com>
Cc: kbuild-all@...org, Mark Brown <broonie@...nel.org>,
Liam Girdwood <lgirdwood@...il.com>,
Jaroslav Kysela <perex@...ex.cz>, Takashi Iwai <tiwai@...e.de>,
Vinod Koul <vinod.koul@...el.com>, alsa-devel@...a-project.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] ASoC: Intel: fix platform_no_drv_owner.cocci warnings
sound/soc/intel/cht_bsw_rt5672.c:273: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: Mengdong Lin <mengdong.lin@...el.com>
Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
---
cht_bsw_rt5672.c | 1 -
1 file changed, 1 deletion(-)
--- a/sound/soc/intel/cht_bsw_rt5672.c
+++ b/sound/soc/intel/cht_bsw_rt5672.c
@@ -270,7 +270,6 @@ static int snd_cht_mc_probe(struct platf
static struct platform_driver snd_cht_mc_driver = {
.driver = {
- .owner = THIS_MODULE,
.name = "cht-bsw-rt5672",
.pm = &snd_soc_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