]> www.infradead.org Git - users/willy/xarray.git/commit
clk: rockchip: rk3308: Drop CLK_NR_CLKS usage
authorJohan Jonker <jbx6244@gmail.com>
Mon, 26 Aug 2024 16:39:02 +0000 (18:39 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 28 Aug 2024 19:25:50 +0000 (21:25 +0200)
commit31fe14956883bc09846ce239993e215330218a6f
treec27ed2c00ef5a4fb3b8acb89fe3c2c2643e1551a
parent545b1313c5a24eed0e4d34554c715b46686251ff
clk: rockchip: rk3308: 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/9fbca2d8-f904-4913-ba05-8715e748a454@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
drivers/clk/rockchip/clk-rk3308.c