[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220822120901.17913-1-yuanjilin@cdjrlc.com>
Date: Mon, 22 Aug 2022 20:09:01 +0800
From: Jilin Yuan <yuanjilin@...rlc.com>
To: gregkh@...uxfoundation.org, jirislaby@...nel.org,
shawnguo@...nel.org, s.hauer@...gutronix.de, kernel@...gutronix.de,
festevam@...il.com, linux-imx@....com,
krzysztof.kozlowski@...aro.org, alim.akhtar@...sung.com
Cc: linux-serial@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, linux-samsung-soc@...r.kernel.org,
Jilin Yuan <yuanjilin@...rlc.com>
Subject: [PATCH] tty/serial: fix repeated words in comments
Delete the redundant word 'power'.
Delete the redundant word 'long'.
Signed-off-by: Jilin Yuan <yuanjilin@...rlc.com>
---
drivers/tty/serial/imx.c | 2 +-
drivers/tty/serial/samsung_tty.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c
index 30edb35a6a15..c72e0dad3544 100644
--- a/drivers/tty/serial/imx.c
+++ b/drivers/tty/serial/imx.c
@@ -2069,7 +2069,7 @@ imx_uart_console_get_options(struct imx_port *sport, int *baud,
{ /*
* The next code provides exact computation of
* baud_raw = round(((uartclk/16) * (ubir + 1)) / (ubmr + 1))
- * without need of float support or long long division,
+ * without need of float support or long division,
* which would be required to prevent 32bit arithmetic overflow
*/
unsigned int mul = ubir + 1;
diff --git a/drivers/tty/serial/samsung_tty.c b/drivers/tty/serial/samsung_tty.c
index d5ca904def34..af799b79ba25 100644
--- a/drivers/tty/serial/samsung_tty.c
+++ b/drivers/tty/serial/samsung_tty.c
@@ -1353,7 +1353,7 @@ static int apple_s5l_serial_startup(struct uart_port *port)
return ret;
}
-/* power power management control */
+/* power management control */
static void s3c24xx_serial_pm(struct uart_port *port, unsigned int level,
unsigned int old)
--
2.36.1
Powered by blists - more mailing lists