From patchwork Wed Nov 23 18:13:44 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: 9444077 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 A4AB66075F for ; Wed, 23 Nov 2016 18:16:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BBB1D27D0C for ; Wed, 23 Nov 2016 18:16:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AFE0D27CFC; Wed, 23 Nov 2016 18:16:47 +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 B2B3727CFC for ; Wed, 23 Nov 2016 18:16:46 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id CC7BF266F8F; Wed, 23 Nov 2016 19:16:44 +0100 (CET) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 1E58D266F5C; Wed, 23 Nov 2016 19:14:23 +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 DA9A0266F8D; Wed, 23 Nov 2016 19:14:13 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by alsa0.perex.cz (Postfix) with ESMTP id 5B2FD266F03 for ; Wed, 23 Nov 2016 19:14:05 +0100 (CET) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga105.fm.intel.com with ESMTP; 23 Nov 2016 10:14:04 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,539,1473145200"; d="scan'208";a="904831463" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by orsmga003.jf.intel.com with ESMTP; 23 Nov 2016 10:14:00 -0800 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1c9c4E-000L1E-UV; Thu, 24 Nov 2016 02:14:46 +0800 Date: Thu, 24 Nov 2016 02:13:44 +0800 From: kbuild test robot To: Ryan Lee Message-ID: <20161123181344.GA24123@lkp-wsm-ep2> References: <201611240218.Lg3buQ9j%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1479877026-5172-1-git-send-email-RyanS.Lee@maximintegrated.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@arm.com, alsa-devel@alsa-project.org, kuninori.morimoto.gx@renesas.com, lgirdwood@gmail.com, tiwai@suse.com, jacob@teenage.engineering, bardliao@realtek.com, lars@metafoo.de, michael@amarulasolutions.com, devicetree@vger.kernel.org, arnd@arndb.de, yesanishhere@gmail.com, nh6z@nh6z.net, Damien.Horsley@imgtec.com, robh+dt@kernel.org, oder_chiou@realtek.com, ryans.lee@maximintegrated.com, linux-kernel@vger.kernel.org, petr@barix.com, broonie@kernel.org, kbuild-all@01.org Subject: [alsa-devel] [PATCH] 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/max98927.c:941: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: Ryan Lee Signed-off-by: Fengguang Wu --- max98927.c | 1 - 1 file changed, 1 deletion(-) --- a/sound/soc/codecs/max98927.c +++ b/sound/soc/codecs/max98927.c @@ -938,7 +938,6 @@ MODULE_DEVICE_TABLE(of, max98927_of_matc static struct i2c_driver max98927_i2c_driver = { .driver = { .name = "max98927", - .owner = THIS_MODULE, .of_match_table = of_match_ptr(max98927_of_match), .pm = NULL, },