spi: sun4i: fix typos in comments
authorJulia Lawall <Julia.Lawall@inria.fr>
Mon, 14 Mar 2022 11:53:45 +0000 (12:53 +0100)
committerMark Brown <broonie@kernel.org>
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 <Julia.Lawall@inria.fr>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Link: https://lore.kernel.org/r/20220314115354.144023-22-Julia.Lawall@inria.fr
Signed-off-by: Mark Brown <broonie@kernel.org>
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