Skip to contentSkip to conversation

clk: Revise help text for clk_get_parent_rate()

PATCH Superseded Alexander Dahl 2 participants 2 messages Feb 23, 2024

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 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")
---
 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: 7bb761c42d75b2ebacc7190a76cc5385cbba1045

Signature · 1 line
2.39.2
Reviewed-by on v1 1/1
#1 lore raw
Quoted 23 lines · Alexander Dahl

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")
---
  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_*().
   *
Quoted 1 line

base-commit: 7bb761c42d75b2ebacc7190a76cc5385cbba1045