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/clk | |
parent | 6c9239351af7aa3d074c325880b6c265f217cf80 (diff) | |
download | u-boot-011bbfbb304fc6554163df34fbe0d50b88ace968.tar.gz u-boot-011bbfbb304fc6554163df34fbe0d50b88ace968.tar.bz2 u-boot-011bbfbb304fc6554163df34fbe0d50b88ace968.zip |
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/clk')
-rw-r--r-- | drivers/clk/clk-uclass.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clk/clk-uclass.c b/drivers/clk/clk-uclass.c index d245b672fa..9aa51895b3 100644 --- a/drivers/clk/clk-uclass.c +++ b/drivers/clk/clk-uclass.c @@ -432,7 +432,8 @@ int clk_get_by_name_nodev(ofnode node, const char *name, struct clk *clk) return clk_get_by_index_nodev(node, index, clk); } -int clk_get_optional_nodev(ofnode node, const char *name, struct clk *clk) +int clk_get_by_name_nodev_optional(ofnode node, const char *name, + struct clk *clk) { int ret; |