From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A3ED8C433E2 for ; Wed, 2 Sep 2020 16:37:34 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7005720829 for ; Wed, 2 Sep 2020 16:37:34 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="cGry4A44" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7005720829 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bootlin.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.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=1UnE1MZ1DLkJYwIo/HcDHzNUT5SHSv1+tsx5BHJenFw=; b=cGry4A44zuNQMN92zMyFdefCH bAwnu4+Dmg1wnUTMhowFy2u/JS43Ng4gUlbyxH0epGkbgyLzWly6/AuaE914uf5Q73R4xRqUyN+mQ rDXzzQ0ebXou1kgO5WNjYnaYcwx9zJKfCGHWmFPqjNLK8RDEk57cNY2GLF0LT9V1HKOiBm0p5F3Fv EodT+wwQ/Gope/ID0JLX2kJ96EeUCfFDgSzIvVmuFamUSuPbc/fhanmnLt6yv85v54PycpmpO1FEW TEIf8f/rZythfpuMrFy+r/6cp1XRaonPMEuQ4Vw9VR5PPW5EVxWLC0cYARarwfOyjvL+Yk3e4RNVE FEzru5SJA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kDVk3-0007bB-AP; Wed, 02 Sep 2020 16:36:11 +0000 Received: from relay6-d.mail.gandi.net ([217.70.183.198]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kDVjy-0007a4-6x; Wed, 02 Sep 2020 16:36:08 +0000 X-Originating-IP: 90.66.108.79 Received: from localhost (lfbn-lyo-1-1932-79.w90-66.abo.wanadoo.fr [90.66.108.79]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id C04D9C0003; Wed, 2 Sep 2020 16:35:58 +0000 (UTC) Date: Wed, 2 Sep 2020 18:35:58 +0200 From: Alexandre Belloni To: Krzysztof Kozlowski Subject: Re: [PATCH 01/10] clk: at91: Drop unused at91sam9g45_pcr_layout Message-ID: <20200902163558.GA4137028@piout.net> References: <20200902150348.14465-1-krzk@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200902150348.14465-1-krzk@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200902_123606_339672_97F3732B X-CRM114-Status: GOOD ( 16.47 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, David Lechner , Neil Armstrong , Stephen Boyd , Kevin Hilman , Michael Turquette , Sekhar Nori , Maxime Ripard , Bjorn Andersson , Martin Blumenstingl , Ludovic Desroches , Andy Gross , Santosh Shilimkar , linux-amlogic@lists.infradead.org, Chen-Yu Tsai , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jerome Brunet Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 02/09/2020 17:03:39+0200, Krzysztof Kozlowski wrote: > The at91sam9g45_pcr_layout is not used so drop it to fix build warning: > > drivers/clk/at91/at91sam9g45.c:49:36: warning: > 'at91sam9g45_pcr_layout' defined but not used [-Wunused-const-variable=] > > Signed-off-by: Krzysztof Kozlowski Acked-by: Alexandre Belloni > --- > drivers/clk/at91/at91sam9g45.c | 7 ------- > 1 file changed, 7 deletions(-) > > diff --git a/drivers/clk/at91/at91sam9g45.c b/drivers/clk/at91/at91sam9g45.c > index c88ee20bee31..cb4a406ed15d 100644 > --- a/drivers/clk/at91/at91sam9g45.c > +++ b/drivers/clk/at91/at91sam9g45.c > @@ -46,13 +46,6 @@ static const struct { > { .n = "pck1", .p = "prog1", .id = 9 }, > }; > > -static const struct clk_pcr_layout at91sam9g45_pcr_layout = { > - .offset = 0x10c, > - .cmd = BIT(12), > - .pid_mask = GENMASK(5, 0), > - .div_mask = GENMASK(17, 16), > -}; > - > struct pck { > char *n; > u8 id; > -- > 2.17.1 > -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel