2022-08-08 15:55:26

by Shaomin Deng

[permalink] [raw]
Subject: [PATCH] usb: typec: Remove repeated word in comments

Remove the repeated word "to" in comments.

Signed-off-by: shaomin Deng <[email protected]>
---
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 e1126a6c8e46..ea5a917c51b1 100644
--- a/drivers/usb/typec/tcpm/tcpm.c
+++ b/drivers/usb/typec/tcpm/tcpm.c
@@ -4520,7 +4520,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.35.1


2022-08-15 12:56:46

by Heikki Krogerus

[permalink] [raw]
Subject: Re: [PATCH] usb: typec: Remove repeated word in comments

On Mon, Aug 08, 2022 at 11:48:30AM -0400, shaomin Deng wrote:
> Remove the repeated word "to" in comments.
>
> Signed-off-by: shaomin Deng <[email protected]>

Reviewed-by: Heikki Krogerus <[email protected]>

> ---
> 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 e1126a6c8e46..ea5a917c51b1 100644
> --- a/drivers/usb/typec/tcpm/tcpm.c
> +++ b/drivers/usb/typec/tcpm/tcpm.c
> @@ -4520,7 +4520,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.35.1

--
heikki