From patchwork Mon Jun 20 17:41:26 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: 9188335 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 B182C601C0 for ; Mon, 20 Jun 2016 17:43:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A5DC5271FD for ; Mon, 20 Jun 2016 17:43:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9A0E927BF8; Mon, 20 Jun 2016 17:43:13 +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 2F9D6271FD for ; Mon, 20 Jun 2016 17:43:13 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 0B6882666C0; Mon, 20 Jun 2016 19:43:12 +0200 (CEST) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 6A07C266647; Mon, 20 Jun 2016 19:43:04 +0200 (CEST) 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 30C3026666D; Mon, 20 Jun 2016 19:43:03 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by alsa0.perex.cz (Postfix) with ESMTP id E919A266631 for ; Mon, 20 Jun 2016 19:42:55 +0200 (CEST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP; 20 Jun 2016 10:42:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,499,1459839600"; d="scan'208";a="831853538" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by orsmga003.jf.intel.com with ESMTP; 20 Jun 2016 10:42:53 -0700 Received: from kbuild by bee with local (Exim 4.83) (envelope-from ) id 1bF3Dh-000CVN-E0; Tue, 21 Jun 2016 01:42:45 +0800 Date: Tue, 21 Jun 2016 01:41:26 +0800 From: kbuild test robot To: Paul.Handrigan@cirrus.com Message-ID: <20160620174125.GA235124@lkp-ib04> References: <201606210144.zjahjxY4%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1466441119-8488-1-git-send-email-Paul.Handrigan@cirrus.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: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, brian.austin@cirrus.com, lgirdwood@gmail.com, Paul Handrigan , robh+dt@kernel.org, broonie@kernel.org, kbuild-all@01.org Subject: [alsa-devel] [PATCH] ASoC: cs35l33: 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/codecs/cs35l33.c:1301: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: Paul Handrigan Signed-off-by: Fengguang Wu --- cs35l33.c | 1 - 1 file changed, 1 deletion(-) --- a/sound/soc/codecs/cs35l33.c +++ b/sound/soc/codecs/cs35l33.c @@ -1298,7 +1298,6 @@ MODULE_DEVICE_TABLE(i2c, cs35l33_id); static struct i2c_driver cs35l33_i2c_driver = { .driver = { .name = "cs35l33", - .owner = THIS_MODULE, .pm = &cs35l33_pm_ops, .of_match_table = cs35l33_of_match,