Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Apr 2022 08:35:20 GMT
From:      Gordon Bergling <gbe@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 74c6ca6fbf61 - main - usb: Remove some double words in source code comments
Message-ID:  <202204090835.2398ZKKo026686@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by gbe (doc committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=74c6ca6fbf61a7879a91c5d0f68786c22ac8f0db

commit 74c6ca6fbf61a7879a91c5d0f68786c22ac8f0db
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-04-09 08:34:48 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-04-09 08:34:48 +0000

    usb: Remove some double words in source code comments
    
    - s/for for/for/
    
    MFC after:      3 days
---
 sys/dev/usb/serial/umcs.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys/dev/usb/serial/umcs.h b/sys/dev/usb/serial/umcs.h
index 288988c2d9b6..fe6fb45b90ea 100644
--- a/sys/dev/usb/serial/umcs.h
+++ b/sys/dev/usb/serial/umcs.h
@@ -45,7 +45,7 @@
  *   All these registers are documented only in full datasheet,
  * which can be requested from MosChip tech support.
  */
-#define	MCS7840_DEV_REG_SP1		0x00	/* Options for for UART 1, R/W */
+#define	MCS7840_DEV_REG_SP1		0x00	/* Options for UART 1, R/W */
 #define	MCS7840_DEV_REG_CONTROL1	0x01	/* Control bits for UART 1,
 						 * R/W */
 #define	MCS7840_DEV_REG_PINPONGHIGH	0x02	/* High bits of ping-pong
@@ -56,13 +56,13 @@
 #define	MCS7840_DEV_REG_GPIO		0x07	/* GPIO_0 and GPIO_1 bits,
 						 * undocumented, see notes
 						 * below R/W */
-#define	MCS7840_DEV_REG_SP2		0x08	/* Options for for UART 2, R/W */
+#define	MCS7840_DEV_REG_SP2		0x08	/* Options for UART 2, R/W */
 #define	MCS7840_DEV_REG_CONTROL2	0x09	/* Control bits for UART 2,
 						 * R/W */
-#define	MCS7840_DEV_REG_SP3		0x0a	/* Options for for UART 3, R/W */
+#define	MCS7840_DEV_REG_SP3		0x0a	/* Options for UART 3, R/W */
 #define	MCS7840_DEV_REG_CONTROL3	0x0b	/* Control bits for UART 3,
 						 * R/W */
-#define	MCS7840_DEV_REG_SP4		0x0c	/* Options for for UART 4, R/W */
+#define	MCS7840_DEV_REG_SP4		0x0c	/* Options for UART 4, R/W */
 #define	MCS7840_DEV_REG_CONTROL4	0x0d	/* Control bits for UART 4,
 						 * R/W */
 #define	MCS7840_DEV_REG_PLL_DIV_M	0x0e	/* Pre-diviedr for PLL, R/W */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202204090835.2398ZKKo026686>