From patchwork Tue Feb 2 16:01:15 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kernel test robot X-Patchwork-Id: 8191671 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 0D029BEEE5 for ; Tue, 2 Feb 2016 16:03:04 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4C28420320 for ; Tue, 2 Feb 2016 16:03:03 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 5B7F0202BE for ; Tue, 2 Feb 2016 16:03:02 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 7220F2654BF; Tue, 2 Feb 2016 17:03:00 +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=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id F212A2652AE; Tue, 2 Feb 2016 17:02:30 +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 B486F2651CF; Tue, 2 Feb 2016 17:02:29 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by alsa0.perex.cz (Postfix) with ESMTP id 18DE0265104 for ; Tue, 2 Feb 2016 17:02:21 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP; 02 Feb 2016 08:02:15 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,385,1449561600"; d="scan'208";a="645942288" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by FMSMGA003.fm.intel.com with ESMTP; 02 Feb 2016 08:02:12 -0800 Received: from kbuild by bee with local (Exim 4.83) (envelope-from ) id 1aQdP5-0008C1-Fm; Wed, 03 Feb 2016 00:02:07 +0800 Date: Wed, 3 Feb 2016 00:01:15 +0800 From: kbuild test robot To: codekipper@gmail.com Message-ID: <20160202160114.GA234379@ivytown2> References: <201602022350.vGAUirEB%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1454424594-25208-3-git-send-email-codekipper@gmail.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: alsa-devel@alsa-project.org, Marcus Cooper , lgirdwood@gmail.com, linux-kernel@vger.kernel.org, be17068@iperbole.bo.it, linux-sunxi@googlegroups.com, broonie@kernel.org, kbuild-all@01.org, maxime.ripard@free-electrons.com, linux-arm-kernel@lists.infradead.org Subject: [alsa-devel] [PATCH] ASOC: sunxi: 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/sun4i-spdif.c:572: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: Marcus Cooper Signed-off-by: Fengguang Wu --- sun4i-spdif.c | 1 - 1 file changed, 1 deletion(-) --- a/sound/soc/sunxi/sun4i-spdif.c +++ b/sound/soc/sunxi/sun4i-spdif.c @@ -569,7 +569,6 @@ static const struct dev_pm_ops sun4i_spd static struct platform_driver sun4i_spdif_driver = { .driver = { .name = "sun4i-spdif", - .owner = THIS_MODULE, .of_match_table = of_match_ptr(sun4i_spdif_of_match), .pm = &sun4i_spdif_pm, },