[PATCH 4/4] cmd: clk: fix long help message

Sean Anderson seanga2 at gmail.com
Tue Feb 1 15:44:49 CET 2022


On 1/31/22 11:21 AM, Patrick Delaunay wrote:
> Fix the long help message for "clk setfreq" command
> 
> Fixes: 7ab418fbe612 ("clk: add support for setting clk rate from cmdline")
> Signed-off-by: Patrick Delaunay <patrick.delaunay at foss.st.com>
> ---
> 
>   cmd/clk.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/cmd/clk.c b/cmd/clk.c
> index 73dea5e746..a483fd8981 100644
> --- a/cmd/clk.c
> +++ b/cmd/clk.c
> @@ -160,7 +160,7 @@ static int do_clk(struct cmd_tbl *cmdtp, int flag, int argc,
>   #ifdef CONFIG_SYS_LONGHELP
>   static char clk_help_text[] =
>   	"dump - Print clock frequencies\n"
> -	"setfreq [clk] [freq] - Set clock frequency";
> +	"clk setfreq [clk] [freq] - Set clock frequency";
>   #endif
>   
>   U_BOOT_CMD(clk, 4, 1, do_clk, "CLK sub-system", clk_help_text);
> 

Reviewed-by: Sean Anderson <seanga2 at gmail.com>


More information about the U-Boot mailing list