]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
dt-bindings: clock: rk3568: Drop CLK_NR_CLKS define
authorHeiko Stuebner <heiko@sntech.de>
Mon, 3 Nov 2025 23:40:32 +0000 (00:40 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 5 Nov 2025 23:03:17 +0000 (00:03 +0100)
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 <conor.dooley@microchip.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patch.msgid.link/20251103234032.413563-3-heiko@sntech.de
include/dt-bindings/clock/rk3568-cru.h

index 18bb8d41d74147f9f4ea269affbf328d6cc46fc3..1e0aef8a645d3fec749b4a4a03acbe6e4d6b6110 100644 (file)
 
 #define PCLK_CORE_PVTM         450
 
-#define CLK_NR_CLKS            (PCLK_CORE_PVTM + 1)
-
 /* scmi-clocks indices */
 
 #define SCMI_CLK_CPU           0