From ea22ae5e13490712d7498194726b5001355fced6 Mon Sep 17 00:00:00 2001 From: H Hartley Sweeten Date: Tue, 6 Oct 2015 11:11:09 -0700 Subject: [PATCH] staging: comedi: mf6x4: sort the BAR1 register defines For aesthetics, sort the defines in register order. Signed-off-by: H Hartley Sweeten drivers/staging/comedi/drivers/mf6x4.c | 10 +++++----- Signed-off-by: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/mf6x4.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/staging/comedi/drivers/mf6x4.c b/drivers/staging/comedi/drivers/mf6x4.c index c1068537f7f4..bde163e3955d 100644 --- a/drivers/staging/comedi/drivers/mf6x4.c +++ b/drivers/staging/comedi/drivers/mf6x4.c @@ -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 */ -- 2.30.2