ARM: s3c: fix typos in comments
authorJulia Lawall <Julia.Lawall@inria.fr>
Fri, 18 Mar 2022 10:37:26 +0000 (11:37 +0100)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 4 Apr 2022 16:57:34 +0000 (18:57 +0200)
Various spelling mistakes in comments.
Detected with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Link: https://lore.kernel.org/r/20220318103729.157574-31-Julia.Lawall@inria.fr
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
arch/arm/mach-s3c/iotiming-s3c2410.c
arch/arm/mach-s3c/pm-s3c64xx.c
arch/arm/mach-s3c/s3c24xx.c

index 28d9f47..09f388d 100644 (file)
@@ -259,7 +259,7 @@ static const unsigned int tacc_tab[] = {
 /**
  * get_tacc - turn tACC value into cycle time
  * @hclk_tns: The cycle time for HCLK, in 10ths of nanoseconds.
- * @val: The bank timing register value, shifed down.
+ * @val: The bank timing register value, shifted down.
  */
 static unsigned int get_tacc(unsigned long hclk_tns,
                             unsigned long val)
index 4f17781..2529f21 100644 (file)
@@ -323,7 +323,7 @@ void s3c_pm_arch_update_uart(void __iomem *regs, struct pm_uart_save *save)
 
        /* S3C64XX UART blocks only support level interrupts, so ensure that
         * when we restore unused UART blocks we force the level interrupt
-        * settigs. */
+        * settings. */
        save->ucon |= S3C2410_UCON_TXILEVEL | S3C2410_UCON_RXILEVEL;
 
        /* We have a constraint on changing the clock type of the UART
index ccfed48..37eaf94 100644 (file)
@@ -146,7 +146,7 @@ static struct map_desc s3c_iodesc[] __initdata __maybe_unused = {
        IODESC_ENT(UART)
 };
 
-/* read cpu identificaiton code */
+/* read cpu identification code */
 
 static unsigned long s3c24xx_read_idcode_v5(void)
 {