diff mbox series

usb: typec: tcpm: fix typo in comment

Message ID 20220521111145.81697-52-Julia.Lawall@inria.fr (mailing list archive)
State Accepted
Commit 4e27465a1506ea638f5adf80d50f50e911570701
Headers show
Series usb: typec: tcpm: fix typo in comment | expand

Commit Message

Julia Lawall May 21, 2022, 11:11 a.m. UTC
Spelling mistake (triple letters) in comment.
Detected with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>

---
 drivers/usb/typec/tcpm/tcpm.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Guenter Roeck May 21, 2022, 1:44 p.m. UTC | #1
On 5/21/22 04:11, Julia Lawall wrote:
> Spelling mistake (triple letters) in comment.
> Detected with the help of Coccinelle.
> 
> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>

Reviewed-by: Guenter Roeck <linux@roeck-us.net>

> 
> ---
>   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..7039383eac6d 100644
> --- a/drivers/usb/typec/tcpm/tcpm.c
> +++ b/drivers/usb/typec/tcpm/tcpm.c
> @@ -471,7 +471,7 @@ struct tcpm_port {
>   
>   	/*
>   	 * When set, port requests PD_P_SNK_STDBY_MW upon entering SNK_DISCOVERY and
> -	 * the actual currrent limit after RX of PD_CTRL_PSRDY for PD link,
> +	 * the actual current limit after RX of PD_CTRL_PSRDY for PD link,
>   	 * SNK_READY for non-pd link.
>   	 */
>   	bool slow_charger_loop;
>
Heikki Krogerus May 24, 2022, 10:54 a.m. UTC | #2
On Sat, May 21, 2022 at 01:11:02PM +0200, Julia Lawall wrote:
> Spelling mistake (triple letters) in comment.
> Detected with the help of Coccinelle.
> 
> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>

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..7039383eac6d 100644
> --- a/drivers/usb/typec/tcpm/tcpm.c
> +++ b/drivers/usb/typec/tcpm/tcpm.c
> @@ -471,7 +471,7 @@ struct tcpm_port {
>  
>  	/*
>  	 * When set, port requests PD_P_SNK_STDBY_MW upon entering SNK_DISCOVERY and
> -	 * the actual currrent limit after RX of PD_CTRL_PSRDY for PD link,
> +	 * the actual current limit after RX of PD_CTRL_PSRDY for PD link,
>  	 * SNK_READY for non-pd link.
>  	 */
>  	bool slow_charger_loop;
diff mbox series

Patch

diff --git a/drivers/usb/typec/tcpm/tcpm.c b/drivers/usb/typec/tcpm/tcpm.c
index 3bc2f4ebd1fe..7039383eac6d 100644
--- a/drivers/usb/typec/tcpm/tcpm.c
+++ b/drivers/usb/typec/tcpm/tcpm.c
@@ -471,7 +471,7 @@  struct tcpm_port {
 
 	/*
 	 * When set, port requests PD_P_SNK_STDBY_MW upon entering SNK_DISCOVERY and
-	 * the actual currrent limit after RX of PD_CTRL_PSRDY for PD link,
+	 * the actual current limit after RX of PD_CTRL_PSRDY for PD link,
 	 * SNK_READY for non-pd link.
 	 */
 	bool slow_charger_loop;