Commit ea22ae5e authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: mf6x4: sort the BAR1 register defines

For aesthetics, sort the defines in register order.
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
 drivers/staging/comedi/drivers/mf6x4.c | 10 +++++-----
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 77eb7416
......@@ -38,16 +38,14 @@
#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 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment