spi: sirf: cleanup the indentation of marcos
authorQipan Li <Qipan.Li@csr.com>
Tue, 2 Sep 2014 09:02:36 +0000 (17:02 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 4 Sep 2014 22:39:26 +0000 (23:39 +0100)
let "#define" statement keep same indentation. the old code layout is
pretty ugly.

Signed-off-by: Qipan Li <Qipan.Li@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-sirf.c

index d6308e6a9b47acd991ff497f32d8f1e1c47f511e..adbabbdfc7f0e0bd91e4edf1dfea1d0e142e5729 100644 (file)
 #define SIRFSOC_SPI_TRAN_DAT_FORMAT_12 (1 << 26)
 #define SIRFSOC_SPI_TRAN_DAT_FORMAT_16 (2 << 26)
 #define SIRFSOC_SPI_TRAN_DAT_FORMAT_32 (3 << 26)
-#define SIRFSOC_SPI_CMD_BYTE_NUM(x)            ((x & 3) << 28)
-#define SIRFSOC_SPI_ENA_AUTO_CLR               BIT(30)
-#define SIRFSOC_SPI_MUL_DAT_MODE               BIT(31)
+#define SIRFSOC_SPI_CMD_BYTE_NUM(x)    ((x & 3) << 28)
+#define SIRFSOC_SPI_ENA_AUTO_CLR       BIT(30)
+#define SIRFSOC_SPI_MUL_DAT_MODE       BIT(31)
 
 /* Interrupt Enable */
-#define SIRFSOC_SPI_RX_DONE_INT_EN             BIT(0)
-#define SIRFSOC_SPI_TX_DONE_INT_EN             BIT(1)
-#define SIRFSOC_SPI_RX_OFLOW_INT_EN            BIT(2)
-#define SIRFSOC_SPI_TX_UFLOW_INT_EN            BIT(3)
+#define SIRFSOC_SPI_RX_DONE_INT_EN     BIT(0)
+#define SIRFSOC_SPI_TX_DONE_INT_EN     BIT(1)
+#define SIRFSOC_SPI_RX_OFLOW_INT_EN    BIT(2)
+#define SIRFSOC_SPI_TX_UFLOW_INT_EN    BIT(3)
 #define SIRFSOC_SPI_RX_IO_DMA_INT_EN   BIT(4)
 #define SIRFSOC_SPI_TX_IO_DMA_INT_EN   BIT(5)
 #define SIRFSOC_SPI_RXFIFO_FULL_INT_EN BIT(6)
@@ -79,7 +79,7 @@
 #define SIRFSOC_SPI_TXFIFO_THD_INT_EN  BIT(9)
 #define SIRFSOC_SPI_FRM_END_INT_EN     BIT(10)
 
-#define SIRFSOC_SPI_INT_MASK_ALL               0x1FFF
+#define SIRFSOC_SPI_INT_MASK_ALL       0x1FFF
 
 /* Interrupt status */
 #define SIRFSOC_SPI_RX_DONE            BIT(0)