]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: clock: rk3128: Drop CLK_NR_CLKS
authorAlex Bee <knaerzche@gmail.com>
Thu, 6 Jun 2024 14:33:59 +0000 (16:33 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 23 Jun 2024 20:09:04 +0000 (22:09 +0200)
CLK_NR_CLKS should not be part of the binding. Let's drop it, since
the kernel code no longer uses it either.

Signed-off-by: Alex Bee <knaerzche@gmail.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20240606143401.32454-4-knaerzche@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
include/dt-bindings/clock/rk3128-cru.h

index 1be455ba4985c0d435e6bc94a31c8aeae2d0d1ed..2616a8791c1482a200080abadf5efb24f4efce8b 100644 (file)
 #define HCLK_CRYPTO            476
 #define HCLK_PERI              478
 
-#define CLK_NR_CLKS            (HCLK_PERI + 1)
-
 /* soft-reset indices */
 #define SRST_CORE0_PO          0
 #define SRST_CORE1_PO          1