From patchwork Tue Nov 27 10:42:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fengguang Wu X-Patchwork-Id: 10700099 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 1A2B415A8 for ; Tue, 27 Nov 2018 10:43:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 08E392ACF8 for ; Tue, 27 Nov 2018 10:43:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F12B82AD25; Tue, 27 Nov 2018 10:43:30 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED 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 F36222ACF8 for ; Tue, 27 Nov 2018 10:43:29 +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=xjOft5mohn3YOAGVaaLiHTwl2VMrUckxHdMiZuw7eM8=; b=RHTPqHoPkWfje+ VOARbOrJ431k+rzKAMGTrkIGla5AUwrtOZhee7KibsaRJ8FmHrKFXZjd/UEFq3Q3OzoHDg+VxIBO9 eHoyPeK9Kj3s0Ah1QO9vLpojfs6y2dNpw6QhzAYm2x/h9gtNEpckFPJFz9wzIZiX23boDaDQLSQxU 7NIcI939foZnactg33BVn/8he8JeoHDh+BQzkVYvjlZWe3Zt4ROGaR42W/BwsVod+fLLFdkztpIhs 3/AGgKAEDA6yETR19LheRNEefcVwmDO64UJNRj0i/5cIDIm7+mc4zImngVDsWnumXEsW/lNtVHVGh YXg2TKoZB4PFyObws9NA==; 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 1gRapz-0003lc-44; Tue, 27 Nov 2018 10:43:27 +0000 Received: from mga07.intel.com ([134.134.136.100]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gRapZ-0003KG-7f; Tue, 27 Nov 2018 10:43:02 +0000 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Nov 2018 02:42:50 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,286,1539673200"; d="scan'208";a="277533314" Received: from lkp-server01.sh.intel.com (HELO lkp-server01) ([10.239.97.150]) by orsmga005.jf.intel.com with ESMTP; 27 Nov 2018 02:42:47 -0800 Received: from kbuild by lkp-server01 with local (Exim 4.89) (envelope-from ) id 1gRapL-0004sa-2i; Tue, 27 Nov 2018 18:42:47 +0800 Date: Tue, 27 Nov 2018 18:42:32 +0800 From: kbuild test robot To: Weiyi Lu Subject: [PATCH] clk: mediatek: fix platform_no_drv_owner.cocci warnings Message-ID: <20181127104231.GA13612@lkp-wsm-ep2> References: <20181127034254.24721-10-weiyi.lu@mediatek.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20181127034254.24721-10-weiyi.lu@mediatek.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-20181127_024301_324442_74DD2E79 X-CRM114-Status: GOOD ( 12.83 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Rob Herring , Nicolas Boichat , Weiyi Lu , srv_heupstream@mediatek.com, James Liao , Stephen Boyd , linux-kernel@vger.kernel.org, Fan Chen , linux-mediatek@lists.infradead.org, kbuild-all@01.org, Matthias Brugger , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: kbuild test robot drivers/clk/mediatek/clk-mt8183.c:1295: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: 14926375ef78 ("clk: mediatek: Add MT8183 clock support") CC: Weiyi Lu Signed-off-by: kbuild test robot --- url: https://github.com/0day-ci/linux/commits/Weiyi-Lu/Mediatek-MT8183-clock-and-scpsys-support/20181127-114621 base: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-next clk-mt8183.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/clk/mediatek/clk-mt8183.c +++ b/drivers/clk/mediatek/clk-mt8183.c @@ -1292,7 +1292,6 @@ static struct platform_driver clk_mt8183 .probe = clk_mt8183_probe, .driver = { .name = "clk-mt8183", - .owner = THIS_MODULE, .of_match_table = of_match_clk_mt8183, }, };