From patchwork Sat Dec 6 22:06:47 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fengguang Wu X-Patchwork-Id: 5450741 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 1C2129F1D4 for ; Sat, 6 Dec 2014 22:08:13 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 49E6020155 for ; Sat, 6 Dec 2014 22:08:12 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 41F0F20142 for ; Sat, 6 Dec 2014 22:08:10 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 3ED242605FF; Sat, 6 Dec 2014 23:08:08 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_00, SUBJ_OBFU_PUNCT_MANY, UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 1088E2605CB; Sat, 6 Dec 2014 23:07:58 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 4290A2605D1; Sat, 6 Dec 2014 23:07:56 +0100 (CET) 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) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 06 Dec 2014 14:07:37 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.07,530,1413270000"; d="scan'208";a="643575775" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by fmsmga002.fm.intel.com with ESMTP; 06 Dec 2014 14:07:35 -0800 Received: from kbuild by bee with local (Exim 4.83) (envelope-from ) id 1XxNVm-0000C6-Tx; Sun, 07 Dec 2014 06:07:34 +0800 Date: Sun, 7 Dec 2014 06:06:47 +0800 From: kbuild test robot To: Max Filippov Message-ID: <20141206220647.GA12086@waimea> References: <201412070634.hwbnurjX%fengguang.wu@intel.com> MIME-Version: 1.0 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 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 Subject: [alsa-devel] [PATCH] ASoC: fix platform_no_drv_owner.cocci warnings X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" 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 X-Virus-Scanned: ClamAV using ClamSMTP 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, },