]> www.infradead.org Git - users/willy/linux.git/commit
clk: rockchip: rk3228: Drop CLK_NR_CLKS usage
authorJohan Jonker <jbx6244@gmail.com>
Mon, 26 Aug 2024 16:38:39 +0000 (18:38 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 28 Aug 2024 19:25:49 +0000 (21:25 +0200)
commit819b2e19a9f7dc9e84a00e2f6da2b2f15a01cee6
tree725e7c21302f2d17df9ad5c87fc67d8c5d0dd72a
parentec4f4261c315d9bc30bb1bb8c3bb17cbaebe7741
clk: rockchip: rk3228: 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.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Link: https://lore.kernel.org/r/2ee6f0a5-a1bb-4b62-ae6b-8f3828f8eccc@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
drivers/clk/rockchip/clk-rk3228.c