[PATCH] clk: Revise help text for clk_get_parent_rate()
Sean Anderson
seanga2 at gmail.com
Fri Feb 23 16:02:58 CET 2024
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 at 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 at gmail.com>
More information about the U-Boot
mailing list