]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
clk: Revise help text for clk_get_parent_rate()
authorAlexander Dahl <ada@thorsis.com>
Fri, 3 May 2024 07:20:09 +0000 (09:20 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 1 Aug 2024 21:33:19 +0000 (15:33 -0600)
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 <ada@thorsis.com>
Reviewed-by: Sean Anderson <seanga2@gmail.com>
include/clk.h

index af23e4f347533b0426053685bf11714fd2d0620e..045e923a529be0e195c6763da1c809f5000b24d8 100644 (file)
@@ -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_*().
  *