From patchwork Mon Jan 23 15:24:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kernel test robot X-Patchwork-Id: 9532975 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 9FA436042D for ; Mon, 23 Jan 2017 16:18:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9022F2846B for ; Mon, 23 Jan 2017 16:18:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 847932846F; Mon, 23 Jan 2017 16:18:54 +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 C84752846B for ; Mon, 23 Jan 2017 16:18:53 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 16CC12669AF; Mon, 23 Jan 2017 17:18:52 +0100 (CET) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 751B22666D3; Mon, 23 Jan 2017 17:16:31 +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 1DB2B267053; Mon, 23 Jan 2017 16:25:39 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by alsa0.perex.cz (Postfix) with ESMTP id D493B266FD9 for ; Mon, 23 Jan 2017 16:25:33 +0100 (CET) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga103.fm.intel.com with ESMTP; 23 Jan 2017 07:25:32 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,274,1477983600"; d="scan'208";a="56237493" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by orsmga005.jf.intel.com with ESMTP; 23 Jan 2017 07:25:29 -0800 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1cVgX8-000OdK-J7; Mon, 23 Jan 2017 23:27:50 +0800 Date: Mon, 23 Jan 2017 23:24:43 +0800 From: kbuild test robot To: Romain Perier Message-ID: <20170123152443.GA42540@lkp-nex06.lkp.intel.com> References: <201701232320.kRYeyr2Z%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20170123104149.2508-4-romain.perier@collabora.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 , devicetree@vger.kernel.org, alsa-devel@alsa-project.org, Heiko Stuebner , Pawel Moll , Liam Girdwood , Ian Campbell , Takashi Iwai , Rob Herring , linux-rockchip@lists.infradead.org, Sjoerd Simons , Mark Brown , kbuild-all@01.org, Kumar Gala , Romain Perier Subject: [alsa-devel] [PATCH] ASoC: rockchip: 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/rockchip/rk3288_hdmi_analog.c:288: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: Romain Perier Signed-off-by: Fengguang Wu --- rk3288_hdmi_analog.c | 1 - 1 file changed, 1 deletion(-) --- a/sound/soc/rockchip/rk3288_hdmi_analog.c +++ b/sound/soc/rockchip/rk3288_hdmi_analog.c @@ -285,7 +285,6 @@ static struct platform_driver rockchip_s .probe = snd_rk_mc_probe, .driver = { .name = DRV_NAME, - .owner = THIS_MODULE, .pm = &snd_soc_pm_ops, .of_match_table = rockchip_sound_of_match, },