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: 10700097 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 4606915A8 for ; Tue, 27 Nov 2018 10:43:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 342992ACF8 for ; Tue, 27 Nov 2018 10:43:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 31C0A2AD2E; Tue, 27 Nov 2018 10:43:07 +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 B3F3B2AD2A for ; Tue, 27 Nov 2018 10:43:06 +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=l31vXRwpdk+Ta24Ku2oNDBnTJVW2YAt1+BIwxSaZOD4=; b=XNILb11p4hK0jC kFk9JIXCgoKkCnSSfN5oq5FzXB8J8250i0f+itgCGaJYiFah70/X8p70kbvh9I79pIWEdnuqh0Zf9 nA53qj8/Cl/QzXWqJqJddVm5BlwKcUfJ8aQP5qyzblJnFxbAYTx19gz8jpVvcVHHM/wRkLch9mjYx AjNeHwtCZyFkr9b7IhlbXr1y6DKKVqA6qPpDmLi3e/l3MiSWehiYV0HU4X/dKGCHeu5A7Upa9+C0w afWzhuyH2PpXrgQQhhCYylSw645HjK5KvUe9SA8PJGqRO3RWkJVpDl76Av6Lf0EvgnEbqlJVl7N2O jYkc+EJbxDU5re2iLs8w==; 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 1gRapc-0003L7-S0; Tue, 27 Nov 2018 10:43:04 +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-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: 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-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 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, }, };