Skip to content

Commit 95fd34a

Browse files
Dr. David Alan Gilbertwens
authored andcommitted
clk: sunxi: Remove unused struct 'gates_data'
'gates_data' (and it's associated define) are unused since commit ee38b26 ("clk: sunxi: Add a simple gates driver"). Remove them. Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org> Acked-by: Stephen Boyd <sboyd@kernel.org> Link: https://lore.kernel.org/r/20240509230516.86023-1-linux@treblig.org Signed-off-by: Chen-Yu Tsai <wens@csie.org>
1 parent 4e7134f commit 95fd34a

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

drivers/clk/sunxi/clk-sunxi.c

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -852,17 +852,6 @@ CLK_OF_DECLARE(sun8i_axi, "allwinner,sun8i-a23-axi-clk",
852852
sun8i_axi_clk_setup);
853853

854854

855-
856-
/*
857-
* sunxi_gates_clk_setup() - Setup function for leaf gates on clocks
858-
*/
859-
860-
#define SUNXI_GATES_MAX_SIZE 64
861-
862-
struct gates_data {
863-
DECLARE_BITMAP(mask, SUNXI_GATES_MAX_SIZE);
864-
};
865-
866855
/*
867856
* sunxi_divs_clk_setup() helper data
868857
*/

0 commit comments

Comments
 (0)