clk: sunxi: Remove unused struct 'gates_data'
PATCH v2 1/1 clk: sunxi: Remove unused struct 'gates_data'
From: "Dr. David Alan Gilbert" <[email protected]>
'gates_data' (and it's associated define) are unused since commit ee38b2698ae2 ("clk: sunxi: Add a simple gates driver"). Remove them.
Signed-off-by Dr. David Alan Gilbert <[email protected]>
--- drivers/clk/sunxi/clk-sunxi.c | 11 ----------- 1 file changed, 11 deletions(-)
drivers/clk/sunxi/clk-sunxi.c +0 -11
@@ -852,17 +852,6 @@ CLK_OF_DECLARE(sun8i_axi, "allwinner,sun8i-a23-axi-clk", sun8i_axi_clk_setup); - -/* -* sunxi_gates_clk_setup() - Setup function for leaf gates on clocks -*/ - -#define SUNXI_GATES_MAX_SIZE 64 - -struct gates_data { - DECLARE_BITMAP(mask, SUNXI_GATES_MAX_SIZE); -}; -/* * sunxi_divs_clk_setup() helper data */
Signature · 1 line
2.45.0
Quoting [email protected] (2024-05-09 16:05:16)
Quoted 8 lines
From: "Dr. David Alan Gilbert" <[email protected]>
'
gates_data' (and it's associated define) are unused since commitee38b2698ae2("clk: sunxi: Add a simple gates driver"). Remove them.Signed-off-by Dr. David Alan Gilbert <[email protected]>---
Acked-by Stephen Boyd <[email protected]>
Chen-Yu Tsai
AppliedQuoted 5 lines · On Fri, 10 May 2024 00:05:16 +0100, [email protected] wrote:
'
gates_data' (and it's associated define) are unused since commitee38b2698ae2("clk: sunxi: Add a simple gates driver"). Remove them.
Applied to sunxi/clk-for-6.11 in sunxi/linux.git, thanks!
[1/1] clk: sunxi: Remove unused struct 'gates_data'
https://git.kernel.org/sunxi/linux/c/95fd34a8595c
Best regards,
Signature · 1 line
Chen-Yu Tsai <[email protected]>