diff mbox series

[v4,2/4] dt-bindings: clock: drop NUM_CLOCKS define for EN7581

Message ID 20250105144219.22663-2-ansuelsmth@gmail.com (mailing list archive)
State Under Review
Headers show
Series [v4,1/4] clk: en7523: Rework clock handling for different clock numbers | expand

Commit Message

Christian Marangi Jan. 5, 2025, 2:41 p.m. UTC
Drop NUM_CLOCKS define for EN7581 include. This is not a binding and
should not be placed here. Value is derived internally in the user
driver.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
---
Changes v4:
- Move to patch 2 (improves bisectability)
Changes v3:
- Add this patch

 include/dt-bindings/clock/en7523-clk.h | 2 --
 1 file changed, 2 deletions(-)

Comments

Krzysztof Kozlowski Jan. 6, 2025, 6:22 a.m. UTC | #1
On Sun, Jan 05, 2025 at 03:41:59PM +0100, Christian Marangi wrote:
> Drop NUM_CLOCKS define for EN7581 include. This is not a binding and
> should not be placed here. Value is derived internally in the user
> driver.
> 
> Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
> ---

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof
diff mbox series

Patch

diff --git a/include/dt-bindings/clock/en7523-clk.h b/include/dt-bindings/clock/en7523-clk.h
index 717d23a5e5ae..28e56745ccff 100644
--- a/include/dt-bindings/clock/en7523-clk.h
+++ b/include/dt-bindings/clock/en7523-clk.h
@@ -12,6 +12,4 @@ 
 #define EN7523_CLK_CRYPTO	6
 #define EN7523_CLK_PCIE		7
 
-#define EN7523_NUM_CLOCKS	8
-
 #endif /* _DT_BINDINGS_CLOCK_AIROHA_EN7523_H_ */