]> www.infradead.org Git - users/dwmw2/linux.git/commit
clk: rockchip: rk3188: Drop CLK_NR_CLKS usage
authorJohan Jonker <jbx6244@gmail.com>
Mon, 24 Jun 2024 11:40:03 +0000 (13:40 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 27 Jun 2024 19:04:40 +0000 (21:04 +0200)
commitec2265dc91307622e43a7d602c3ea425da6f5de1
tree717f3735151feccb251e90e36395f8288eb9515a
parentfc547ab06c87f7c4a7e2425a89759f7a9a6fd7c1
clk: rockchip: rk3188: 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/1cd309fa-a4d3-4283-aa47-1330a40448a7@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
drivers/clk/rockchip/clk-rk3188.c