From patchwork Thu Aug 30 10:13:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fengguang Wu X-Patchwork-Id: 10581421 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E273314E1 for ; Thu, 30 Aug 2018 10:15:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CD1AA2B6FE for ; Thu, 30 Aug 2018 10:15:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BF1622B704; Thu, 30 Aug 2018 10:15:21 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1E8B42B6FE for ; Thu, 30 Aug 2018 10:15:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=H0AylAMcaynOGBdzqkFWHlhGvGa6wEBUNQ5z7/aUzUU=; b=IPDsRC6kfI9J5p IKevIgrb9qQUD/Sfhd8DAeSZhSXeqkhMncrdw0gWZmIBI5skdBwxVY9qlsWuwcSF82PptNsQeN2u1 VlMYSfwiqZCFJHTVSlSt1egfHmVHW7NsGEDp6Vn1C+DdtZ17hrgZ/C4lBdASh2kh4DDelY8LfUn7c AnFp8uQlvppKvwyvTrUqQZ7/BdAXGbHldiVwOIUWWHSequ/l3Qc/5OIsDtjBw3lTwNtL/88DgxfC1 iE4pWXj/LXf+gI5uAPmZ2RuZLGVJvmxOh8w8gaFpljVy9TiU9IggTjtnmx+30HbxLvfSldldYT1db e2gmwGFZOQyB4Mn2RjVg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fvJyj-0003QE-QR; Thu, 30 Aug 2018 10:15:05 +0000 Received: from mga03.intel.com ([134.134.136.65]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fvJyb-0003EX-HE for linux-arm-kernel@lists.infradead.org; Thu, 30 Aug 2018 10:15:01 +0000 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Aug 2018 03:14:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,306,1531810800"; d="scan'208";a="81488534" Received: from bee.sh.intel.com (HELO lkp-server01) ([10.239.97.14]) by fmsmga002.fm.intel.com with ESMTP; 30 Aug 2018 03:14:24 -0700 Received: from kbuild by lkp-server01 with local (Exim 4.89) (envelope-from ) id 1fvJxr-0003md-3k; Thu, 30 Aug 2018 18:14:11 +0800 Date: Thu, 30 Aug 2018 18:13:00 +0800 From: kbuild test robot To: Codrin Ciubotariu Subject: [PATCH] ASoC: fix platform_no_drv_owner.cocci warnings Message-ID: <20180830101300.GA38719@lkp-ivb-ep02> References: <20180829144727.13757-2-codrin.ciubotariu@microchip.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20180829144727.13757-2-codrin.ciubotariu@microchip.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180830_031457_676712_206CD32A X-CRM114-Status: GOOD ( 12.53 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, cristian.birsan@microchip.com, alexandre.belloni@bootlin.com, robh+dt@kernel.org, broonie@kernel.org, florian.meier@koalo.de, kbuild-all@01.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: kbuild test robot sound/soc/atmel/mikroe-proto.c:178: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 Fixes: 395c2cec021d ("ASoC: Add driver for PROTO Audio CODEC (with a WM8731)") CC: Codrin Ciubotariu Signed-off-by: kbuild test robot --- url: https://github.com/0day-ci/linux/commits/Codrin-Ciubotariu/ASoC-Add-driver-for-PROTO-Audio-CODEC-with-a-WM8731/20180830-060610 base: https://git.kernel.org/pub/scm/linux/kernel/git/nferre/linux-at91.git at91-next mikroe-proto.c | 1 - 1 file changed, 1 deletion(-) --- a/sound/soc/atmel/mikroe-proto.c +++ b/sound/soc/atmel/mikroe-proto.c @@ -175,7 +175,6 @@ MODULE_DEVICE_TABLE(of, snd_proto_of_mat static struct platform_driver snd_proto_driver = { .driver = { .name = "snd-mikroe-proto", - .owner = THIS_MODULE, .of_match_table = snd_proto_of_match, }, .probe = snd_proto_probe,