diff mbox series

usb: typec: Remove repeated word in comments

Message ID 20220808154830.10965-1-dengshaomin@cdjrlc.com (mailing list archive)
State New, archived
Headers show
Series usb: typec: Remove repeated word in comments | expand

Commit Message

Shaomin Deng Aug. 8, 2022, 3:48 p.m. UTC
Remove the repeated word "to" in comments.

Signed-off-by: shaomin Deng <dengshaomin@cdjrlc.com>
---
 drivers/usb/typec/tcpm/tcpm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Heikki Krogerus Aug. 15, 2022, 12:21 p.m. UTC | #1
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 <dengshaomin@cdjrlc.com>

Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>

> ---
>  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
diff mbox series

Patch

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