From patchwork Tue Dec 1 19:23:33 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kernel test robot X-Patchwork-Id: 7740251 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 7A10D9F39D for ; Tue, 1 Dec 2015 19:25:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B074420662 for ; Tue, 1 Dec 2015 19:25:30 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id C32AD203B8 for ; Tue, 1 Dec 2015 19:25:29 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 88E832661E4; Tue, 1 Dec 2015 20:25:28 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NO_DNS_FOR_FROM, RCVD_IN_DNSWL_LOW, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 97D1B264F50; Tue, 1 Dec 2015 20:24:56 +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 89194264FFB; Tue, 1 Dec 2015 20:24:55 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by alsa0.perex.cz (Postfix) with ESMTP id 4366B261B36 for ; Tue, 1 Dec 2015 20:24:48 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga102.jf.intel.com with ESMTP; 01 Dec 2015 11:24:12 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,370,1444719600"; d="scan'208";a="864416774" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by fmsmga002.fm.intel.com with ESMTP; 01 Dec 2015 11:24:05 -0800 Received: from kbuild by bee with local (Exim 4.83) (envelope-from ) id 1a3qWu-0005hp-23; Wed, 02 Dec 2015 03:24:00 +0800 Date: Wed, 2 Dec 2015 03:23:33 +0800 From: kbuild test robot To: anish kumar Message-ID: <20151201192333.GA71588@roam> References: <201512020319.lxuzp62p%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1448994679-7387-1-git-send-email-yesanishhere@gmail.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, broonie@kernel.org, kbuild-all@01.org, anish kumar 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/max98926.c:587: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: anish kumar Signed-off-by: Fengguang Wu --- max98926.c | 1 - 1 file changed, 1 deletion(-) --- a/sound/soc/codecs/max98926.c +++ b/sound/soc/codecs/max98926.c @@ -584,7 +584,6 @@ MODULE_DEVICE_TABLE(of, max98926_of_matc static struct i2c_driver max98926_i2c_driver = { .driver = { .name = "max98926", - .owner = THIS_MODULE, .of_match_table = of_match_ptr(max98926_of_match), .pm = NULL, },