Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

spi: pic32: fix spelling mistakes on macro names

Trivial fix to spelling mistakes macros; fix EMPTY spellings:
RX_FIFO_EMTPY -> RX_FIFO_EMPTY
TX_FIFO_EMTPY -> TX_FIFO_EMPTY

Note that there are no other occurrances of these macros in the
source.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Colin Ian King and committed by
Mark Brown
808f5154 5771a8c0

+2 -2
+2 -2
drivers/spi/spi-pic32.c
··· 52 52 53 53 /* Bit fields of SPI Control Register */ 54 54 #define CTRL_RX_INT_SHIFT 0 /* Rx interrupt generation */ 55 - #define RX_FIFO_EMTPY 0 55 + #define RX_FIFO_EMPTY 0 56 56 #define RX_FIFO_NOT_EMPTY 1 /* not empty */ 57 57 #define RX_FIFO_HALF_FULL 2 /* full by half or more */ 58 58 #define RX_FIFO_FULL 3 /* completely full */ 59 59 60 60 #define CTRL_TX_INT_SHIFT 2 /* TX interrupt generation */ 61 61 #define TX_FIFO_ALL_EMPTY 0 /* completely empty */ 62 - #define TX_FIFO_EMTPY 1 /* empty */ 62 + #define TX_FIFO_EMPTY 1 /* empty */ 63 63 #define TX_FIFO_HALF_EMPTY 2 /* empty by half or more */ 64 64 #define TX_FIFO_NOT_FULL 3 /* atleast one empty */ 65 65