[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20220822115707.11425-1-yuanjilin@cdjrlc.com>
Date: Mon, 22 Aug 2022 19:57:07 +0800
From: Jilin Yuan <yuanjilin@...rlc.com>
To: balbi@...nel.org, daniel@...que.org, haojian.zhuang@...il.com,
robert.jarzmik@...e.fr
Cc: linux-usb@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, Jilin Yuan <yuanjilin@...rlc.com>
Subject: [PATCH] gadget/udc: fix repeated words in comments
Delete the redundant word 'tell'.
Delete the redundant word 'also'.
Delete the redundant word 'with'.
Signed-off-by: Jilin Yuan <yuanjilin@...rlc.com>
---
drivers/usb/gadget/udc/at91_udc.c | 2 +-
drivers/usb/gadget/udc/core.c | 2 +-
drivers/usb/gadget/udc/pxa25x_udc.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/usb/gadget/udc/at91_udc.c b/drivers/usb/gadget/udc/at91_udc.c
index 728987280373..c80d0902bb30 100644
--- a/drivers/usb/gadget/udc/at91_udc.c
+++ b/drivers/usb/gadget/udc/at91_udc.c
@@ -994,7 +994,7 @@ static const struct usb_gadget_ops at91_udc_ops = {
.udc_stop = at91_stop,
/*
- * VBUS-powered devices may also also want to support bigger
+ * VBUS-powered devices may also want to support bigger
* power budgets after an appropriate SET_CONFIGURATION.
*/
/* .vbus_power = at91_vbus_power, */
diff --git a/drivers/usb/gadget/udc/core.c b/drivers/usb/gadget/udc/core.c
index b5b42f7a299b..8dd8fbd44d65 100644
--- a/drivers/usb/gadget/udc/core.c
+++ b/drivers/usb/gadget/udc/core.c
@@ -900,7 +900,7 @@ EXPORT_SYMBOL_GPL(usb_gadget_unmap_request);
/**
* usb_gadget_giveback_request - give the request back to the gadget layer
- * @ep: the endpoint to be used with with the request
+ * @ep: the endpoint to be used with the request
* @req: the request being given back
*
* This is called by device controller drivers in order to return the
diff --git a/drivers/usb/gadget/udc/pxa25x_udc.c b/drivers/usb/gadget/udc/pxa25x_udc.c
index c593fc383481..176e2b157021 100644
--- a/drivers/usb/gadget/udc/pxa25x_udc.c
+++ b/drivers/usb/gadget/udc/pxa25x_udc.c
@@ -1737,7 +1737,7 @@ static void handle_ep0 (struct pxa25x_udc *dev)
/* hardware automagic preventing STALL... */
if (dev->req_config) {
/* hardware sometimes neglects to tell
- * tell us about config change events,
+ * us about config change events,
* so later ones may fail...
*/
WARNING("config change %02x fail %d?\n",
--
2.36.1
Powered by blists - more mailing lists