diff mbox series

usb/typec/tcpm: fix repeated words in comments

Message ID 20220716135642.52460-1-yuanjilin@cdjrlc.com
State New
Headers show
Series usb/typec/tcpm: fix repeated words in comments | expand

Commit Message

Jilin Yuan July 16, 2022, 1:56 p.m. UTC
Delete the redundant word 'to'.

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

Comments

Heikki Krogerus July 18, 2022, 8:39 a.m. UTC | #1
On Sat, Jul 16, 2022 at 09:56:42PM +0800, Jilin Yuan wrote:
>  Delete the redundant word 'to'.
> 
> Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>

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

Patch

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