From mboxrd@z Thu Jan 1 00:00:00 1970 From: kbuild test robot Subject: [PATCH] ASoC: fix platform_no_drv_owner.cocci warnings Date: Sun, 7 Dec 2014 06:06:47 +0800 Message-ID: <20141206220647.GA12086@waimea> References: <201412070634.hwbnurjX%fengguang.wu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by alsa0.perex.cz (Postfix) with ESMTP id 90BE22605B3 for ; Sat, 6 Dec 2014 23:07:47 +0100 (CET) Content-Disposition: inline In-Reply-To: <201412070634.hwbnurjX%fengguang.wu@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Max Filippov Cc: linux-xtensa@linux-xtensa.org, alsa-devel@alsa-project.org, Takashi Iwai , linux-kernel@vger.kernel.org, Liam Girdwood , Mark Brown , kbuild-all@01.org List-Id: alsa-devel@alsa-project.org sound/soc/xtensa/xtfpga-i2s.c:666: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 Signed-off-by: Fengguang Wu --- xtfpga-i2s.c | 1 - 1 file changed, 1 deletion(-) --- a/sound/soc/xtensa/xtfpga-i2s.c +++ b/sound/soc/xtensa/xtfpga-i2s.c @@ -663,7 +663,6 @@ static struct platform_driver xtfpga_i2s .remove = xtfpga_i2s_remove, .driver = { .name = "xtfpga-i2s", - .owner = THIS_MODULE, .of_match_table = of_match_ptr(xtfpga_i2s_of_match), .pm = &xtfpga_i2s_pm_ops, },