]> www.infradead.org Git - users/hch/misc.git/commit
clk: rockchip: rk3036: Drop CLK_NR_CLKS usage
authorJohan Jonker <jbx6244@gmail.com>
Mon, 26 Aug 2024 16:38:25 +0000 (18:38 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 28 Aug 2024 19:25:49 +0000 (21:25 +0200)
commitec4f4261c315d9bc30bb1bb8c3bb17cbaebe7741
tree6acde5a20ca9f91f1dc7bcc973c977c65b726213
parent2496910c84a4bd1aa2c10fe57cf4ae1cbcab17f4
clk: rockchip: rk3036: 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/c8e73847-f472-4473-ac55-068cb28b98f6@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
drivers/clk/rockchip/clk-rk3036.c