Skip to contentSkip to conversation

clk: Revise help text for clk_get_parent_rate()

PATCH In review Alexander Dahl 2 participants 2 messages May 3, 2024 – Aug 2, 2024

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 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")

---

Notes:
v2:
- Collected tags

 include/clk.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/clk.h +1 -1
index af23e4f3475..045e923a529 100644
@@ -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_*().
  *

base-commit: c92d48f8b2909d08584f17612a23d959467f14b8

Signature · 1 line
2.39.2
#1 lore raw
Quoted 4 lines · Alexander Dahl

The function returns the rate of the parent clock, the previous text made no sense at all.

Applied to u-boot/master, thanks!

Signature · 1 line
Tom