From patchwork Tue Jan 31 11:34:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: kernel test robot X-Patchwork-Id: 9546977 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A9E0B6016C for ; Tue, 31 Jan 2017 11:45:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9C4422833B for ; Tue, 31 Jan 2017 11:45:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 90E0A28372; Tue, 31 Jan 2017 11:45:02 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F2E7F28375 for ; Tue, 31 Jan 2017 11:45:00 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 56826267328; Tue, 31 Jan 2017 12:34:44 +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 3358B26732C; Tue, 31 Jan 2017 12:34:43 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by alsa0.perex.cz (Postfix) with ESMTP id 67C9D266A74 for ; Tue, 31 Jan 2017 12:34:41 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP; 31 Jan 2017 03:34:40 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos; i="5.33,314,1477983600"; d="scan'208"; a="1101107088" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by fmsmga001.fm.intel.com with ESMTP; 31 Jan 2017 03:34:37 -0800 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1cYWk4-0001U7-S7; Tue, 31 Jan 2017 19:36:56 +0800 Date: Tue, 31 Jan 2017 19:34:11 +0800 From: kbuild test robot To: =?iso-8859-1?Q?Myl=E8ne?= Josserand Message-ID: <20170131113411.GA32358@lkp-ivb-ep02.lkp.intel.com> References: <201701311952.eSnc2r78%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20170131100552.27949-4-mylene.josserand@free-electrons.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: mark.rutland@arm.com, devicetree@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, tiwai@suse.com, lgirdwood@gmail.com, robh+dt@kernel.org, wens@csie.org, broonie@kernel.org, alexandre.belloni@free-electrons.com, kbuild-all@01.org, maxime.ripard@free-electrons.com, mylene.josserand@free-electrons.com, thomas.petazzoni@free-electrons.com, linux-arm-kernel@lists.infradead.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/sunxi/sun8i-codec.c:487: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: Mylène Josserand Signed-off-by: Fengguang Wu --- sun8i-codec.c | 1 - 1 file changed, 1 deletion(-) --- a/sound/soc/sunxi/sun8i-codec.c +++ b/sound/soc/sunxi/sun8i-codec.c @@ -484,7 +484,6 @@ static const struct dev_pm_ops sun8i_cod static struct platform_driver sun8i_codec_driver = { .driver = { .name = "sun8i-codec", - .owner = THIS_MODULE, .of_match_table = sun8i_codec_of_match, .pm = &sun8i_codec_pm_ops, },