From: Alexander Dahl Date: Fri, 3 May 2024 07:20:09 +0000 (+0200) Subject: clk: Revise help text for clk_get_parent_rate() X-Git-Url: http://git.dujemihanovic.xyz/%22http:/www.sics.se/static/%7B%7B%20.RelPermalink%20%7D%7D?a=commitdiff_plain;h=133f67a3610b5252e85828d86c5e9311f24b7faa;p=u-boot.git clk: Revise help text for clk_get_parent_rate() The function returns the rate of the parent clock, the previous text made no sense at all. Fixes: 4aa78300a025 ("dm: clk: Define clk_get_parent_rate() for clk operations") Signed-off-by: Alexander Dahl Reviewed-by: Sean Anderson --- diff --git a/include/clk.h b/include/clk.h index af23e4f347..045e923a52 100644 --- a/include/clk.h +++ b/include/clk.h @@ -444,7 +444,7 @@ ulong clk_get_rate(struct clk *clk); struct clk *clk_get_parent(struct clk *clk); /** - * clk_get_parent_rate() - Get parent of current clock rate. + * clk_get_parent_rate() - Get rate of current clock's parent. * @clk: A clock struct that was previously successfully requested by * clk_request/get_by_*(). *