]> www.infradead.org Git - users/jedix/linux-maple.git/commit
clk: rockchip: expose rockchip_clk_set_lookup
authorSebastian Reichel <sebastian.reichel@collabora.com>
Wed, 11 Dec 2024 16:58:52 +0000 (17:58 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 9 Jan 2025 15:19:21 +0000 (16:19 +0100)
commitfe0fb6675fa48cade97d8bcd46226479c4a704df
treebc9a5e48ce8a80d21f10def5874af71d1b8248d1
parent33af96244a66f855baa43d424844bb437c79c30c
clk: rockchip: expose rockchip_clk_set_lookup

Move rockchip_clk_add_lookup to clk.h, so that it can be used
by sub-devices with their own driver. These might also have to
do a lookup, so rename the function to rockchip_clk_set_lookup
and add a matching rockchip_clk_get_lookup.

Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Link: https://lore.kernel.org/r/20241211165957.94922-4-sebastian.reichel@collabora.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
drivers/clk/rockchip/clk.c
drivers/clk/rockchip/clk.h