Staging:wilc1000:wilc_spi: Fixed spelling error
authorGeorgios Emmanouil <geo.emmnl@gmail.com>
Thu, 2 Mar 2017 17:06:19 +0000 (19:06 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Mar 2017 13:43:49 +0000 (14:43 +0100)
Fixed spelling error. 'unkmown' to 'unknown'.

Signed-off-by: Georgios Emmanouil <geo.emmnl@gmail.com>
Reviewed-by: Julian Calaby <julian.calaby@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_spi.c

index 71c5f7759df20cccccdea11f2a2d39ecc493e8e9..4724586f919a0e970519dcb7f1a453e0d006876d 100644 (file)
@@ -963,12 +963,12 @@ static int wilc_spi_read_int(struct wilc *wilc, u32 *int_status)
                                }
 
                                {
-                                       u32 unkmown_mask;
+                                       u32 unknown_mask;
 
-                                       unkmown_mask = ~((1ul << g_spi.nint) - 1);
+                                       unknown_mask = ~((1ul << g_spi.nint) - 1);
 
-                                       if ((tmp >> IRG_FLAGS_OFFSET) & unkmown_mask) {
-                                               dev_err(&spi->dev, "Unexpected interrupt (2): j=%d, tmp=%x, mask=%x\n", j, tmp, unkmown_mask);
+                                       if ((tmp >> IRG_FLAGS_OFFSET) & unknown_mask) {
+                                               dev_err(&spi->dev, "Unexpected interrupt (2): j=%d, tmp=%x, mask=%x\n", j, tmp, unknown_mask);
                                                happended = 1;
                                        }
                                }