From mboxrd@z Thu Jan 1 00:00:00 1970 From: kbuild test robot Subject: [PATCH] ASoC: zx: fix platform_no_drv_owner.cocci warnings Date: Fri, 5 Jun 2015 01:11:27 +0800 Message-ID: <20150604171126.GA226227@ivytown2> References: <201506050116.40gO5c34%fengguang.wu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <201506050116.40gO5c34%fengguang.wu@intel.com> Sender: linux-kernel-owner@vger.kernel.org To: Jun Nie Cc: kbuild-all@01.org, Mark Brown , alsa-devel@alsa-project.org, Liam Girdwood , Jaroslav Kysela , Takashi Iwai , linux-kernel@vger.kernel.org List-Id: alsa-devel@alsa-project.org sound/soc/zte/zx296702-i2s.c:428: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: Jun Nie Signed-off-by: Fengguang Wu --- zx296702-i2s.c | 1 - 1 file changed, 1 deletion(-) --- a/sound/soc/zte/zx296702-i2s.c +++ b/sound/soc/zte/zx296702-i2s.c @@ -425,7 +425,6 @@ static struct platform_driver i2s_driver .probe = zx_i2s_probe, .driver = { .name = "zx-i2s", - .owner = THIS_MODULE, .of_match_table = zx_i2s_dt_ids, }, };