]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
clk: sunxi: Remove unused struct 'gates_data'
authorDr. David Alan Gilbert <linux@treblig.org>
Thu, 9 May 2024 23:05:16 +0000 (00:05 +0100)
committerChen-Yu Tsai <wens@csie.org>
Tue, 4 Jun 2024 12:58:05 +0000 (20:58 +0800)
'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 <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>
drivers/clk/sunxi/clk-sunxi.c

index 5fe7049ea693a2257019074d9df430c5aa90e759..4999504f7e60d67f7014ff3f0a2192bb2872c720 100644 (file)
@@ -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
  */