Spelling mistake (triple letters) in comment.
Detected with the help of Coccinelle.
Signed-off-by: Julia Lawall <[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 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;
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 <[email protected]>
Reviewed-by: Guenter Roeck <[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 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;
>
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 <[email protected]>
Acked-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 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