diff options
author | Sean Anderson <seanga2@gmail.com> | 2021-12-22 12:11:10 -0500 |
---|---|---|
committer | Sean Anderson <seanga2@gmail.com> | 2022-02-24 23:58:13 -0500 |
commit | 011bbfbb304fc6554163df34fbe0d50b88ace968 (patch) | |
tree | 106fa9c6bad0a1abc7fe9d35c0aea97c7f544e3f /drivers/phy | |
parent | 6c9239351af7aa3d074c325880b6c265f217cf80 (diff) | |
download | u-boot-011bbfbb304fc6554163df34fbe0d50b88ace968.zip u-boot-011bbfbb304fc6554163df34fbe0d50b88ace968.tar.gz u-boot-011bbfbb304fc6554163df34fbe0d50b88ace968.tar.bz2 |
clk: Rename clk_get_optional_nodev
This normalizes the name of this accessor function to put "_optional" last.
Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Link: https://lore.kernel.org/r/20211222171114.3091780-2-seanga2@gmail.com
Diffstat (limited to 'drivers/phy')
-rw-r--r-- | drivers/phy/phy-mtk-tphy.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/phy/phy-mtk-tphy.c b/drivers/phy/phy-mtk-tphy.c index 824244b..2dd964f 100644 --- a/drivers/phy/phy-mtk-tphy.c +++ b/drivers/phy/phy-mtk-tphy.c @@ -723,13 +723,13 @@ static int mtk_tphy_probe(struct udevice *dev) tphy->phys[index] = instance; index++; - err = clk_get_optional_nodev(subnode, "ref", - &instance->ref_clk); + err = clk_get_by_name_nodev_optional(subnode, "ref", + &instance->ref_clk); if (err) return err; - err = clk_get_optional_nodev(subnode, "da_ref", - &instance->da_ref_clk); + err = clk_get_by_name_nodev_optional(subnode, "da_ref", + &instance->da_ref_clk); if (err) return err; } |