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

From: nobuhiro1.iwamatsu
Date: Thu Mar 02 2023 - 20:29:21 EST


Hi!

> -----Original Message-----
> From: Dario Binacchi <dario.binacchi@xxxxxxxxxxxxxxxxxxxx>
> Sent: Friday, March 3, 2023 5:50 AM
> To: linux-kernel@xxxxxxxxxxxxxxx
> Cc: linux-amarula@xxxxxxxxxxxxxxxxxxxx; Dario Binacchi
> <dario.binacchi@xxxxxxxxxxxxxxxxxxxx>; Michael Turquette
> <mturquette@xxxxxxxxxxxx>; iwamatsu nobuhiro(岩松 信洋 □SWC◯AC
> T) <nobuhiro1.iwamatsu@xxxxxxxxxxxxx>; Stephen Boyd
> <sboyd@xxxxxxxxxx>; linux-arm-kernel@xxxxxxxxxxxxxxxxxxx;
> linux-clk@xxxxxxxxxxxxxxx
> 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@xxxxxxxxxxxxxxxxxxxx>
>

Acked-by: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@xxxxxxxxxxxxx>

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