[RESEND] clk: visconti: remove unused visconti_pll_provider::regmap

Message ID 20230302205028.2539197-1-dario.binacchi@amarulasolutions.com
State New
Headers show
Series
  • [RESEND] clk: visconti: remove unused visconti_pll_provider::regmap
Related show

Commit Message

Dario Binacchi March 2, 2023, 8:50 p.m. UTC
Field regmap of struct visconti_pll_provider is never used. Remove it.

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>

---

 drivers/clk/visconti/pll.h | 1 -
 1 file changed, 1 deletion(-)

Comments

nobuhiro1.iwamatsu@toshiba.co.jp March 3, 2023, 12:20 a.m. UTC | #1
Hi!

> -----Original Message-----
> From: Dario Binacchi <dario.binacchi@amarulasolutions.com>
> Sent: Friday, March 3, 2023 5:50 AM
> To: linux-kernel@vger.kernel.org
> Cc: linux-amarula@amarulasolutions.com; Dario Binacchi
> <dario.binacchi@amarulasolutions.com>; Michael Turquette
> <mturquette@baylibre.com>; iwamatsu nobuhiro(岩松 信洋 □SWC◯AC
> T) <nobuhiro1.iwamatsu@toshiba.co.jp>; Stephen Boyd
> <sboyd@kernel.org>; linux-arm-kernel@lists.infradead.org;
> linux-clk@vger.kernel.org
> Subject: [RESEND PATCH] clk: visconti: remove unused
> visconti_pll_provider::regmap
> 
> Field regmap of struct visconti_pll_provider is never used. Remove it.
> 
> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
> 

Acked-by: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>

Best regards,
  Nobuhiro

> ---
> 
>  drivers/clk/visconti/pll.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/clk/visconti/pll.h b/drivers/clk/visconti/pll.h index
> 16dae35ab370..01d07f1bf01b 100644
> --- a/drivers/clk/visconti/pll.h
> +++ b/drivers/clk/visconti/pll.h
> @@ -15,7 +15,6 @@
> 
>  struct visconti_pll_provider {
>  	void __iomem *reg_base;
> -	struct regmap *regmap;
>  	struct clk_hw_onecell_data clk_data;
>  	struct device_node *node;
>  };
> --
> 2.32.0
Stephen Boyd March 6, 2023, 7:43 p.m. UTC | #2
Quoting Dario Binacchi (2023-03-02 12:50:28)
> Field regmap of struct visconti_pll_provider is never used. Remove it.
> 
> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
> 
> ---

Applied to clk-next

Patch

diff --git a/drivers/clk/visconti/pll.h b/drivers/clk/visconti/pll.h
index 16dae35ab370..01d07f1bf01b 100644
--- a/drivers/clk/visconti/pll.h
+++ b/drivers/clk/visconti/pll.h
@@ -15,7 +15,6 @@ 
 
 struct visconti_pll_provider {
 	void __iomem *reg_base;
-	struct regmap *regmap;
 	struct clk_hw_onecell_data clk_data;
 	struct device_node *node;
 };