diff mbox series

clk: sunxi: Remove unused struct 'gates_data'

Message ID 20240509001452.204929-1-linux@treblig.org (mailing list archive)
State Changes Requested, archived
Headers show
Series clk: sunxi: Remove unused struct 'gates_data' | expand

Commit Message

Dr. David Alan Gilbert May 9, 2024, 12:14 a.m. UTC
From: "Dr. David Alan Gilbert" <linux@treblig.org>

'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>
---
 drivers/clk/sunxi/clk-sunxi.c | 11 -----------
 1 file changed, 11 deletions(-)

Comments

Stephen Boyd May 9, 2024, 10:07 p.m. UTC | #1
Quoting linux@treblig.org (2024-05-08 17:14:52)
> From: "Dr. David Alan Gilbert" <linux@treblig.org>
> 
> 'gates_data' (and it's associated define) are unused since
> Commit ee38b2698ae2 ("clk: sunxi: Add a simple gates driver").

Lowercase commit please.
Dr. David Alan Gilbert May 9, 2024, 11:05 p.m. UTC | #2
* Stephen Boyd (sboyd@kernel.org) wrote:
> Quoting linux@treblig.org (2024-05-08 17:14:52)
> > From: "Dr. David Alan Gilbert" <linux@treblig.org>
> > 
> > 'gates_data' (and it's associated define) are unused since
> > Commit ee38b2698ae2 ("clk: sunxi: Add a simple gates driver").
> 
> Lowercase commit please.

V2 sent with just that changed.

Dave
diff mbox series

Patch

diff --git a/drivers/clk/sunxi/clk-sunxi.c b/drivers/clk/sunxi/clk-sunxi.c
index 5fe7049ea693a..4999504f7e60d 100644
--- a/drivers/clk/sunxi/clk-sunxi.c
+++ b/drivers/clk/sunxi/clk-sunxi.c
@@ -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
  */