[PATCH] serial/8250: fix repeated words in comments
From: Jilin Yuan
Date: Mon Aug 22 2022 - 08:12:34 EST
Delete the redundant word 'have'.
Delete the redundant word 'don't'.
Signed-off-by: Jilin Yuan <yuanjilin@xxxxxxxxxx>
---
drivers/tty/serial/8250/8250_omap.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/tty/serial/8250/8250_omap.c b/drivers/tty/serial/8250/8250_omap.c
index ac8bfa042391..f60b7a8e4f70 100644
--- a/drivers/tty/serial/8250/8250_omap.c
+++ b/drivers/tty/serial/8250/8250_omap.c
@@ -345,7 +345,7 @@ static void omap8250_restore_regs(struct uart_8250_port *up)
}
/*
- * OMAP can use "CLK / (16 or 13) / div" for baud rate. And then we have have
+ * OMAP can use "CLK / (16 or 13) / div" for baud rate. And then we have
* some differences in how we want to handle flow control.
*/
static void omap_8250_set_termios(struct uart_port *port,
@@ -579,7 +579,7 @@ static void omap_serial_fill_features_erratas(struct uart_8250_port *up,
/*
* AM65x SR1.0, AM65x SR2.0 and J721e SR1.0 don't
- * don't have RHR_IT_DIS bit in IER2 register. So drop to flag
+ * have RHR_IT_DIS bit in IER2 register. So drop to flag
* to enable errata workaround.
*/
if (soc_device_match(k3_soc_devices))
--
2.36.1