Re: [PATCH] usb/typec/tcpm: fix repeated words in comments

From: Heikki Krogerus
Date: Mon Jul 18 2022 - 04:39:42 EST


On Sat, Jul 16, 2022 at 09:56:42PM +0800, Jilin Yuan wrote:
> Delete the redundant word 'to'.
>
> Signed-off-by: Jilin Yuan <yuanjilin@xxxxxxxxxx>

Acked-by: Heikki Krogerus <heikki.krogerus@xxxxxxxxxxxxxxx>

> ---
> drivers/usb/typec/tcpm/tcpm.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/usb/typec/tcpm/tcpm.c b/drivers/usb/typec/tcpm/tcpm.c
> index 3bc2f4ebd1fe..2d80b5b17ea4 100644
> --- a/drivers/usb/typec/tcpm/tcpm.c
> +++ b/drivers/usb/typec/tcpm/tcpm.c
> @@ -4453,7 +4453,7 @@ static void run_state_machine(struct tcpm_port *port)
> * The specification suggests that dual mode ports in sink
> * mode should transition to state PE_SRC_Transition_to_default.
> * See USB power delivery specification chapter 8.3.3.6.1.3.
> - * This would mean to to
> + * This would mean to
> * - turn off VCONN, reset power supply
> * - request hardware reset
> * - turn on VCONN
> --
> 2.36.1

--
heikki