From: Heiko Stuebner Date: Mon, 3 Nov 2025 23:40:32 +0000 (+0100) Subject: dt-bindings: clock: rk3568: Drop CLK_NR_CLKS define X-Git-Tag: v6.19-rc1~58^2^5^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ca38f0f65eefd79889b409c89c6932d7e2fe0993;p=thirdparty%2Flinux.git dt-bindings: clock: rk3568: Drop CLK_NR_CLKS define CLK_NR_CLKS has always only be used on the driver side to calculate array sizes should never have been part of the clock-binding. Let's drop it, since the kernel code no longer uses it either and nothing else has ever used it. Acked-by: Conor Dooley Signed-off-by: Heiko Stuebner Link: https://patch.msgid.link/20251103234032.413563-3-heiko@sntech.de --- diff --git a/include/dt-bindings/clock/rk3568-cru.h b/include/dt-bindings/clock/rk3568-cru.h index 18bb8d41d7414..1e0aef8a645d3 100644 --- a/include/dt-bindings/clock/rk3568-cru.h +++ b/include/dt-bindings/clock/rk3568-cru.h @@ -483,8 +483,6 @@ #define PCLK_CORE_PVTM 450 -#define CLK_NR_CLKS (PCLK_CORE_PVTM + 1) - /* scmi-clocks indices */ #define SCMI_CLK_CPU 0