diff mbox series

tty/seria: fix repeated words in comments

Message ID 20220822120633.16753-1-yuanjilin@cdjrlc.com
State New
Headers show
Series tty/seria: fix repeated words in comments | expand

Commit Message

Jilin Yuan Aug. 22, 2022, 12:06 p.m. UTC
Delete the redundant word 'as'.
 Delete the redundant word 'the'.

Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
---
 drivers/tty/serial/fsl_lpuart.c | 2 +-
 drivers/tty/serial/kgdboc.c     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/drivers/tty/serial/fsl_lpuart.c b/drivers/tty/serial/fsl_lpuart.c
index 0d6e62f6bb07..fff4fa8d73ca 100644
--- a/drivers/tty/serial/fsl_lpuart.c
+++ b/drivers/tty/serial/fsl_lpuart.c
@@ -2787,7 +2787,7 @@  static int __maybe_unused lpuart_suspend(struct device *dev)
 		 * EDMA driver during suspend will forcefully release any
 		 * non-idle DMA channels. If port wakeup is enabled or if port
 		 * is console port or 'no_console_suspend' is set the Rx DMA
-		 * cannot resume as as expected, hence gracefully release the
+		 * cannot resume as expected, hence gracefully release the
 		 * Rx DMA path before suspend and start Rx DMA path on resume.
 		 */
 		if (irq_wake) {
diff --git a/drivers/tty/serial/kgdboc.c b/drivers/tty/serial/kgdboc.c
index 79b7db8580e0..a471fc132acb 100644
--- a/drivers/tty/serial/kgdboc.c
+++ b/drivers/tty/serial/kgdboc.c
@@ -343,7 +343,7 @@  static int param_set_kgdboc_var(const char *kmessage,
 	 * Configure with the new params as long as init already ran.
 	 * Note that we can get called before init if someone loads us
 	 * with "modprobe kgdboc kgdboc=..." or if they happen to use the
-	 * the odd syntax of "kgdboc.kgdboc=..." on the kernel command.
+	 * odd syntax of "kgdboc.kgdboc=..." on the kernel command.
 	 */
 	if (configured >= 0)
 		ret = configure_kgdboc();