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, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 55833C43461 for ; Wed, 2 Sep 2020 16:36:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 32E9D206E7 for ; Wed, 2 Sep 2020 16:36:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727897AbgIBQgG (ORCPT ); Wed, 2 Sep 2020 12:36:06 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:35899 "EHLO relay6-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726247AbgIBQgF (ORCPT ); Wed, 2 Sep 2020 12:36:05 -0400 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 Cc: Michael Turquette , Stephen Boyd , Nicolas Ferre , Ludovic Desroches , David Lechner , Sekhar Nori , Santosh Shilimkar , Neil Armstrong , Jerome Brunet , Kevin Hilman , Martin Blumenstingl , Andy Gross , Bjorn Andersson , Maxime Ripard , Chen-Yu Tsai , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-msm@vger.kernel.org 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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200902150348.14465-1-krzk@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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