staging: comedi: mf6x4: sort the BAR1 register defines
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 6 Oct 2015 18:11:09 +0000 (11:11 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Oct 2015 05:55:31 +0000 (22:55 -0700)
For aesthetics, sort the defines in register order.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
 drivers/staging/comedi/drivers/mf6x4.c | 10 +++++-----
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/mf6x4.c

index c1068537f7f41601db435cc30278f4a3b09e3b08..bde163e3955d137f053684fb5314675a9603bd6c 100644 (file)
 #define MF6X4_GPIOC_DACEN      BIT(26)
 
 /* BAR1 registers */
+#define MF6X4_ADDATA_R         0x00
+#define MF6X4_ADCTRL_R         0x00
+#define MF6X4_ADCTRL_M         0xff
 #define MF6X4_DIN_R            0x10
 #define MF6X4_DIN_M            0xff
 #define MF6X4_DOUT_R           0x10
 #define MF6X4_DOUT_M           0xff
-
 #define MF6X4_ADSTART_R                0x20
-#define MF6X4_ADDATA_R         0x00
-#define MF6X4_ADCTRL_R         0x00
-#define MF6X4_ADCTRL_M         0xff
-
 #define MF6X4_DAC_R(x)         (0x20 + ((x) * 2))
 
 /* BAR2 registers */