Fix misspellings of "disconnect".
Signed-off-by: Geert Uytterhoeven <[email protected]>
---
drivers/usb/chipidea/udc.c | 2 +-
drivers/usb/gadget/udc/fsl_udc_core.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/chipidea/udc.c b/drivers/usb/chipidea/udc.c
index 8f18e7b6cadf4306..0b6166a64d72a762 100644
--- a/drivers/usb/chipidea/udc.c
+++ b/drivers/usb/chipidea/udc.c
@@ -1612,7 +1612,7 @@ static int ci_udc_selfpowered(struct usb_gadget *_gadget, int is_on)
}
/* Change Data+ pullup status
- * this func is used by usb_gadget_connect/disconnet
+ * this func is used by usb_gadget_connect/disconnect
*/
static int ci_udc_pullup(struct usb_gadget *_gadget, int is_on)
{
diff --git a/drivers/usb/gadget/udc/fsl_udc_core.c b/drivers/usb/gadget/udc/fsl_udc_core.c
index 20141c3096f68ab4..7114a0ef4b13b4e6 100644
--- a/drivers/usb/gadget/udc/fsl_udc_core.c
+++ b/drivers/usb/gadget/udc/fsl_udc_core.c
@@ -1208,7 +1208,7 @@ static int fsl_vbus_draw(struct usb_gadget *gadget, unsigned mA)
}
/* Change Data+ pullup status
- * this func is used by usb_gadget_connect/disconnet
+ * this func is used by usb_gadget_connect/disconnect
*/
static int fsl_pullup(struct usb_gadget *gadget, int is_on)
{
--
2.17.1
On 19-10-24 17:27:47, Geert Uytterhoeven wrote:
> Fix misspellings of "disconnect".
>
> Signed-off-by: Geert Uytterhoeven <[email protected]>
> ---
> drivers/usb/chipidea/udc.c | 2 +-
> drivers/usb/gadget/udc/fsl_udc_core.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/usb/chipidea/udc.c b/drivers/usb/chipidea/udc.c
> index 8f18e7b6cadf4306..0b6166a64d72a762 100644
> --- a/drivers/usb/chipidea/udc.c
> +++ b/drivers/usb/chipidea/udc.c
> @@ -1612,7 +1612,7 @@ static int ci_udc_selfpowered(struct usb_gadget *_gadget, int is_on)
> }
>
> /* Change Data+ pullup status
> - * this func is used by usb_gadget_connect/disconnet
> + * this func is used by usb_gadget_connect/disconnect
> */
> static int ci_udc_pullup(struct usb_gadget *_gadget, int is_on)
> {
> diff --git a/drivers/usb/gadget/udc/fsl_udc_core.c b/drivers/usb/gadget/udc/fsl_udc_core.c
> index 20141c3096f68ab4..7114a0ef4b13b4e6 100644
> --- a/drivers/usb/gadget/udc/fsl_udc_core.c
> +++ b/drivers/usb/gadget/udc/fsl_udc_core.c
> @@ -1208,7 +1208,7 @@ static int fsl_vbus_draw(struct usb_gadget *gadget, unsigned mA)
> }
>
> /* Change Data+ pullup status
> - * this func is used by usb_gadget_connect/disconnet
> + * this func is used by usb_gadget_connect/disconnect
> */
> static int fsl_pullup(struct usb_gadget *gadget, int is_on)
> {
Acked-by: Peter Chen <[email protected]>
--
Thanks,
Peter Chen