From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752514AbaLFWHr (ORCPT ); Sat, 6 Dec 2014 17:07:47 -0500 Received: from mga11.intel.com ([192.55.52.93]:23397 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752227AbaLFWHp (ORCPT ); Sat, 6 Dec 2014 17:07:45 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.07,530,1413270000"; d="scan'208";a="643575775" Date: Sun, 7 Dec 2014 06:06:47 +0800 From: kbuild test robot To: Max Filippov Cc: kbuild-all@01.org, Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , linux-xtensa@linux-xtensa.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: [PATCH] ASoC: fix platform_no_drv_owner.cocci warnings Message-ID: <20141206220647.GA12086@waimea> References: <201412070634.hwbnurjX%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201412070634.hwbnurjX%fengguang.wu@intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.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, },