From patchwork Tue Feb 21 17:44:02 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: 9585233 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 5A7CA602A7 for ; Tue, 21 Feb 2017 17:44:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 453D2285D1 for ; Tue, 21 Feb 2017 17:44:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 396B8285ED; Tue, 21 Feb 2017 17:44:29 +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 851B8285D1 for ; Tue, 21 Feb 2017 17:44:28 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 18839266D90; Tue, 21 Feb 2017 18:44:26 +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 34EE1266D99; Tue, 21 Feb 2017 18:44:25 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by alsa0.perex.cz (Postfix) with ESMTP id 344B4266D8D for ; Tue, 21 Feb 2017 18:44:19 +0100 (CET) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Feb 2017 09:44:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,190,1484035200"; d="scan'208";a="60839886" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by orsmga004.jf.intel.com with ESMTP; 21 Feb 2017 09:44:16 -0800 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1cgEWD-0005Sb-1M; Wed, 22 Feb 2017 01:46:29 +0800 Date: Wed, 22 Feb 2017 01:44:02 +0800 From: kbuild test robot To: simon.ho.cnxt@gmail.com Message-ID: <20170221174402.GA72169@lkp-g5.lkp.intel.com> References: <201702220127.8Yf496qG%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <4a4e60530c00c33f554b8157c2afa0a57362c0bc.1487684248.git.simon.ho@conexant.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, Simon Ho , lgirdwood@gmail.com, tiwai@suse.com, broonie@kernel.org, kbuild-all@01.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/codecs/cx2092x-i2c.c:43: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: Simon Ho Signed-off-by: Fengguang Wu --- cx2092x-i2c.c | 1 - 1 file changed, 1 deletion(-) --- a/sound/soc/codecs/cx2092x-i2c.c +++ b/sound/soc/codecs/cx2092x-i2c.c @@ -40,7 +40,6 @@ MODULE_DEVICE_TABLE(i2c, cx2092x_i2c_id) static struct i2c_driver cx2092x_i2c_driver = { .driver = { .name = "cx2092x", - .owner = THIS_MODULE, .of_match_table = of_match_ptr(cx2092x_dt_ids), }, .id_table = cx2092x_i2c_id,