]> www.infradead.org Git - users/dwmw2/linux.git/commit
clk: rockchip: rk3128: Drop CLK_NR_CLKS usage
authorAlex Bee <knaerzche@gmail.com>
Thu, 6 Jun 2024 14:33:58 +0000 (16:33 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Sat, 8 Jun 2024 13:56:35 +0000 (15:56 +0200)
commit3d0316c949e26392a5098e23c139c932991e50ce
treee7cf5b7593f005b07d8680abe1bbe12f667fa9f5
parente745698209837a952d4515bc02cddd5a31a644b9
clk: rockchip: rk3128: 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: Alex Bee <knaerzche@gmail.com>
Link: https://lore.kernel.org/r/20240606143401.32454-3-knaerzche@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
drivers/clk/rockchip/clk-rk3128.c