]> git.baikalelectronics.ru Git - uboot.git/commit
clk: Rename clk_get_by_driver_info()
authorSimon Glass <sjg@chromium.org>
Sat, 7 Aug 2021 13:24:09 +0000 (07:24 -0600)
committerSimon Glass <sjg@chromium.org>
Sat, 25 Sep 2021 15:46:15 +0000 (09:46 -0600)
commitcf6ae2565d58b2f2e3e6d05c8b96cc0e336fb8b4
tree14610d0f4a178d8a0b1f7f287241776b2aab3ecd
parent74f9d9f7fbf942978d0f4c9fac556e615235b8a3
clk: Rename clk_get_by_driver_info()

This is actually a misnomer now, since the phandle info may contain
a driver_info index or a udevice index. Rename it to use the word
'phandle', which seems more accurate. Add a comment while we are here.

Also add a test for this function.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/clk/clk-uclass.c
drivers/mmc/ftsdc010_mci.c
drivers/mmc/rockchip_dw_mmc.c
drivers/ram/rockchip/sdram_rk3399.c
drivers/spi/rk_spi.c
include/clk.h
test/dm/of_platdata.c