staging: spi: mt7621: Sort register definitions
authorStefan Roese <sr@denx.de>
Fri, 1 Feb 2019 10:17:13 +0000 (11:17 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Feb 2019 11:34:37 +0000 (12:34 +0100)
This patch sorts the SPI register definitions by increasing addresses.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Mark Brown <broonie@kernel.org>
Cc: Sankalp Negi <sankalpnegi2310@gmail.com>
Cc: Chuanhong Guo <gch981213@gmail.com>
Cc: John Crispin <john@phrozen.org>
Reviewd-by: NeilBrown <neil@brown.name>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-spi/spi-mt7621.c

index 00cff75..89586a8 100644 (file)
@@ -36,9 +36,9 @@
 #define SPI_CTL_TX_RX_CNT_MASK 0xff
 #define SPI_CTL_START          BIT(8)
 
-#define MT7621_SPI_POLAR       0x38
 #define MT7621_SPI_MASTER      0x28
 #define MT7621_SPI_MOREBUF     0x2c
+#define MT7621_SPI_POLAR       0x38
 #define MT7621_SPI_SPACE       0x3c
 
 #define MT7621_CPHA            BIT(5)