From patchwork Wed Mar 4 19:37:39 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fengguang Wu X-Patchwork-Id: 5939591 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 688849F380 for ; Wed, 4 Mar 2015 19:38:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8BBA3202FE for ; Wed, 4 Mar 2015 19:38:39 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 9146E202EC for ; Wed, 4 Mar 2015 19:38:38 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 2074026530F; Wed, 4 Mar 2015 20:38:37 +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, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 4DD832651B8; Wed, 4 Mar 2015 20:38:29 +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 E5B6D2651ED; Wed, 4 Mar 2015 20:38:27 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by alsa0.perex.cz (Postfix) with ESMTP id DF36C2651B2 for ; Wed, 4 Mar 2015 20:38:20 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP; 04 Mar 2015 11:35:48 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,689,1418112000"; d="scan'208";a="694002742" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by orsmga002.jf.intel.com with ESMTP; 04 Mar 2015 11:38:16 -0800 Received: from kbuild by bee with local (Exim 4.83) (envelope-from ) id 1YTF7W-000BVx-HY; Thu, 05 Mar 2015 03:38:14 +0800 Date: Thu, 5 Mar 2015 03:37:39 +0800 From: kbuild test robot To: Anatol Pomozov Message-ID: <20150304193739.GA91196@athens.lkp.intel.com> References: <201503050334.H4jPvCBg%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <201503050334.H4jPvCBg%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: Alexandre Courbot , alsa-devel@alsa-project.org, Stephen Warren , Takashi Iwai , Liam Girdwood , Mark Brown , Thierry Reding , kbuild-all@01.org, linux-tegra@vger.kernel.org Subject: [alsa-devel] [PATCH] ASoC: tegra: 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/tegra/tegra_rt5677.c:334: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: Anatol Pomozov Signed-off-by: Fengguang Wu --- tegra_rt5677.c | 1 - 1 file changed, 1 deletion(-) --- a/sound/soc/tegra/tegra_rt5677.c +++ b/sound/soc/tegra/tegra_rt5677.c @@ -331,7 +331,6 @@ static const struct of_device_id tegra_r static struct platform_driver tegra_rt5677_driver = { .driver = { .name = DRV_NAME, - .owner = THIS_MODULE, .pm = &snd_soc_pm_ops, .of_match_table = tegra_rt5677_of_match, },