]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
clk: rockchip: rk3568: Drop CLK_NR_CLKS usage
authorHeiko Stuebner <heiko@sntech.de>
Mon, 3 Nov 2025 23:40:31 +0000 (00:40 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 5 Nov 2025 23:03:17 +0000 (00:03 +0100)
commit2a42e3210d4331dddfb04b020050bd774cf99659
tree6a69e9996cb661f32a3dfae0adbfb9f70a235a34
parent88b6a93af4345e901206d0576bdb4e88ea3eaeb8
clk: rockchip: rk3568: Drop CLK_NR_CLKS usage

In order to get rid of CLK_NR_CLKS and be able to drop it from the
bindings, use rockchip_clk_find_max_clk_id helper to find the highest
clock id.

Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patch.msgid.link/20251103234032.413563-2-heiko@sntech.de
drivers/clk/rockchip/clk-rk3568.c