]> Git Repo - J-linux.git/commitdiff
spi: sun4i: fix typos in comments
authorJulia Lawall <[email protected]>
Mon, 14 Mar 2022 11:53:45 +0000 (12:53 +0100)
committerMark Brown <[email protected]>
Tue, 15 Mar 2022 12:03:58 +0000 (12:03 +0000)
Various spelling mistakes in comments.
Detected with the help of Coccinelle.

Signed-off-by: Julia Lawall <[email protected]>
Acked-by: Chen-Yu Tsai <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
drivers/spi/spi-sun4i.c

index 1fdfc6e6691d2e47df5b743d422f671e54dd169e..6000d0761206c66be2376037848522d15cf433bf 100644 (file)
@@ -280,7 +280,7 @@ static int sun4i_spi_transfer_one(struct spi_master *master,
         * SPI_CLK = MOD_CLK / (2 ^ (cdr + 1))
         * Or we can use CDR2, which is calculated with the formula:
         * SPI_CLK = MOD_CLK / (2 * (cdr + 1))
-        * Wether we use the former or the latter is set through the
+        * Whether we use the former or the latter is set through the
         * DRS bit.
         *
         * First try CDR2, and if we can't reach the expected
This page took 0.055892 seconds and 4 git commands to generate.