Skip to contentSkip to conversation

greybus: es2: fix typo in a comment

PATCH In review Jason Wang 2 participants 2 messages Dec 12, 2021 – Dec 13, 2021 Greybus

lore
Share & tools
lore

Jason Wang

author
#0 lore raw

PATCH 1/1 greybus: es2: fix typo in a comment

The double `for' in the comment in line 81 is repeated. Remove one of them from the comment.

---
 drivers/greybus/es2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/greybus/es2.c +1 -1
index 15661c7f3633..e89cca015095 100644
@@ -78,7 +78,7 @@ struct es2_cport_in {
  * @hd: pointer to our gb_host_device structure
  *
  * @cport_in: endpoint, urbs and buffer for cport in messages
- * @cport_out_endpoint: endpoint for for cport out messages
+ * @cport_out_endpoint: endpoint for cport out messages
  * @cport_out_urb: array of urbs for the CPort out messages
  * @cport_out_urb_busy: array of flags to see if the @cport_out_urb is busy or
  *			not.
Signature · 1 line
2.34.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 2 lines · Jason Wang

The double `for' in the comment in line 81 is repeated. Remove one of them from the comment.

This looks fine. But it's so trivial... Are you aware of *any* other similar trivial problems in comments that could be fixed together with this? If so, I would prefer that.

If you've looked, and there are no others:

Quoted 19 lines
---
  drivers/greybus/es2.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/greybus/es2.c +1 -1
index 15661c7f3633..e89cca015095 100644
@@ -78,7 +78,7 @@ struct es2_cport_in {
   * @hd: pointer to our gb_host_device structure
   *
   * @cport_in: endpoint, urbs and buffer for cport in messages
- * @cport_out_endpoint: endpoint for for cport out messages
+ * @cport_out_endpoint: endpoint for cport out messages
   * @cport_out_urb: array of urbs for the CPort out messages
   * @cport_out_urb_busy: array of flags to see if the @cport_out_urb is busy or
   *			not.