Message ID | 20240223120120.1605788-1-ada@thorsis.com |
---|---|
State | New |
Delegated to: | Sean Anderson |
Headers | show |
Series | clk: Revise help text for clk_get_parent_rate() | expand |
On 2/23/24 07:01, Alexander Dahl wrote: > 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> > --- > include/clk.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/clk.h b/include/clk.h > index af23e4f3475..045e923a529 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_*(). > * > > base-commit: 7bb761c42d75b2ebacc7190a76cc5385cbba1045 Reviewed-by: Sean Anderson <seanga2@gmail.com>
diff --git a/include/clk.h b/include/clk.h index af23e4f3475..045e923a529 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_*(). *
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> --- include/clk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) base-commit: 7bb761c42d75b2ebacc7190a76cc5385cbba1045