linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] clk: sunxi: Remove unused struct 'gates_data'
@ 2024-05-09  0:14 linux
  2024-05-09 22:07 ` Stephen Boyd
  0 siblings, 1 reply; 3+ messages in thread
From: linux @ 2024-05-09  0:14 UTC (permalink / raw)
  To: emilio, mturquette, wens
  Cc: linux-clk, linux-arm-kernel, linux-sunxi, linux-kernel,
	Dr. David Alan Gilbert

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(-)

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
  */
-- 
2.45.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] clk: sunxi: Remove unused struct 'gates_data'
  2024-05-09  0:14 [PATCH] clk: sunxi: Remove unused struct 'gates_data' linux
@ 2024-05-09 22:07 ` Stephen Boyd
  2024-05-09 23:05   ` Dr. David Alan Gilbert
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Boyd @ 2024-05-09 22:07 UTC (permalink / raw)
  To: emilio, linux, mturquette, wens
  Cc: linux-clk, linux-arm-kernel, linux-sunxi, linux-kernel,
	Dr. David Alan Gilbert

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.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] clk: sunxi: Remove unused struct 'gates_data'
  2024-05-09 22:07 ` Stephen Boyd
@ 2024-05-09 23:05   ` Dr. David Alan Gilbert
  0 siblings, 0 replies; 3+ messages in thread
From: Dr. David Alan Gilbert @ 2024-05-09 23:05 UTC (permalink / raw)
  To: Stephen Boyd
  Cc: emilio, mturquette, wens, linux-clk, linux-arm-kernel,
	linux-sunxi, linux-kernel

* 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

-- 
 -----Open up your eyes, open up your mind, open up your code -------   
/ Dr. David Alan Gilbert    |       Running GNU/Linux       | Happy  \ 
\        dave @ treblig.org |                               | In Hex /
 \ _________________________|_____ http://www.treblig.org   |_______/

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-05-09 23:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-09  0:14 [PATCH] clk: sunxi: Remove unused struct 'gates_data' linux
2024-05-09 22:07 ` Stephen Boyd
2024-05-09 23:05   ` Dr. David Alan Gilbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).