[PATCH] clk: fix clk_round_rate command description

Sascha Hauer s.hauer at pengutronix.de
Fri May 20 02:51:46 PDT 2022


On Fri, May 20, 2022 at 09:55:19AM +0300, Denis Orlov wrote:
> Signed-off-by: Denis Orlov <denorl2009 at gmail.com>
> ---
>  commands/clk.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Applied, thanks

Sascha

> 
> diff --git a/commands/clk.c b/commands/clk.c
> index 0f7d7422e9..dfbc7c988f 100644
> --- a/commands/clk.c
> +++ b/commands/clk.c
> @@ -99,12 +99,12 @@ static int do_clk_round_rate(int argc, char *argv[])
>  }
>  
>  BAREBOX_CMD_HELP_START(clk_round_rate)
> -BAREBOX_CMD_HELP_TEXT("Set clock CLK to RATE")
> +BAREBOX_CMD_HELP_TEXT("Show clock CLK actual rate if set to HZ")
>  BAREBOX_CMD_HELP_END
>  
>  BAREBOX_CMD_START(clk_round_rate)
>  	.cmd		= do_clk_round_rate,
> -	BAREBOX_CMD_DESC("set a clocks rate")
> +	BAREBOX_CMD_DESC("show a resulting clocks rate")
>  	BAREBOX_CMD_OPTS("CLK HZ")
>  	BAREBOX_CMD_GROUP(CMD_GRP_HWMANIP)
>  	BAREBOX_CMD_HELP(cmd_clk_round_rate_help)
> -- 
> 2.20.1
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list