From patchwork Sat Feb 7 22:58:30 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fengguang Wu X-Patchwork-Id: 5796871 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.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id D3E7F9F30C for ; Sat, 7 Feb 2015 22:59:23 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F29FD20166 for ; Sat, 7 Feb 2015 22:59:22 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 05A5120142 for ; Sat, 7 Feb 2015 22:59:22 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id AEA7B260620; Sat, 7 Feb 2015 23:59:19 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NO_DNS_FOR_FROM, 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 94900260611; Sat, 7 Feb 2015 23:59:16 +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 F4117260612; Sat, 7 Feb 2015 23:59:15 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by alsa0.perex.cz (Postfix) with ESMTP id E4DE526060F for ; Sat, 7 Feb 2015 23:59:08 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 07 Feb 2015 14:59:06 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,537,1418112000"; d="scan'208";a="648899051" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by orsmga001.jf.intel.com with ESMTP; 07 Feb 2015 14:59:04 -0800 Received: from kbuild by bee with local (Exim 4.83) (envelope-from ) id 1YKEL8-000MeA-V8; Sun, 08 Feb 2015 06:59:02 +0800 Date: Sun, 8 Feb 2015 06:58:30 +0800 From: kbuild test robot To: Rongjun Ying Message-ID: <20150207225830.GA6510@waimea> References: <201502080606.gsrhSC8Q%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <201502080606.gsrhSC8Q%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-arm-kernel@lists.infradead.org, alsa-devel@alsa-project.org, Takashi Iwai , linux-kernel@vger.kernel.org, Liam Girdwood , Mark Brown , kbuild-all@01.org, Barry Song Subject: [alsa-devel] [PATCH] ASoC: sirf: atlas7: 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/sirf/atlas7-iacc.c:625: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: Rongjun Ying Signed-off-by: Fengguang Wu --- atlas7-iacc.c | 1 - 1 file changed, 1 deletion(-) --- a/sound/soc/sirf/atlas7-iacc.c +++ b/sound/soc/sirf/atlas7-iacc.c @@ -622,7 +622,6 @@ static const struct dev_pm_ops atlas7_ia static struct platform_driver atlas7_iacc_driver = { .driver = { .name = "sirf-atlas7-iacc", - .owner = THIS_MODULE, .of_match_table = atlas7_iacc_of_match, .pm = &atlas7_iacc_pm_ops, },