]> www.infradead.org Git - users/willy/linux.git/commit
clk: rockchip: px30: Drop CLK_NR_CLKS CLKPMU_NR_CLKS usage
authorJohan Jonker <jbx6244@gmail.com>
Mon, 26 Aug 2024 16:38:12 +0000 (18:38 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 28 Aug 2024 19:25:49 +0000 (21:25 +0200)
commit2496910c84a4bd1aa2c10fe57cf4ae1cbcab17f4
treeab43fd09761023f83c5de8994a79c832c62dead2
parent1d34b9757523c1ad547bd6d040381f62d74a3189
clk: rockchip: px30: Drop CLK_NR_CLKS CLKPMU_NR_CLKS usage

In order to get rid of CLK_NR_CLKS and CLKPMU_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/5ad12808-61f5-4e3b-801e-85231375b6a6@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
drivers/clk/rockchip/clk-px30.c