[PATCH] usb: typec: tcpm: fix typo in comment

Julia Lawall posted 1 patch 3 years, 11 months ago
drivers/usb/typec/tcpm/tcpm.c |    2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] usb: typec: tcpm: fix typo in comment
Posted by Julia Lawall 3 years, 11 months ago
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(-)

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;
Re: [PATCH] usb: typec: tcpm: fix typo in comment
Posted by Heikki Krogerus 3 years, 11 months ago
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;

-- 
heikki
Re: [PATCH] usb: typec: tcpm: fix typo in comment
Posted by Guenter Roeck 3 years, 11 months ago
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;
>