From mboxrd@z Thu Jan 1 00:00:00 1970 From: kbuild test robot Subject: [PATCH] ASoC: Intel: fix platform_no_drv_owner.cocci warnings Date: Sun, 21 Dec 2014 22:40:43 +0800 Message-ID: <20141221144043.GA58352@athens> References: <201412212239.7lsK60Dq%fengguang.wu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <201412212239.7lsK60Dq%fengguang.wu@intel.com> Sender: linux-kernel-owner@vger.kernel.org To: Mengdong Lin Cc: kbuild-all@01.org, Mark Brown , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Vinod Koul , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org List-Id: alsa-devel@alsa-project.org 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 Signed-off-by: Fengguang Wu --- 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, },