staging: comedi: dt9812: rename F020_MASK_DACxCN_DACxEN
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 7 Oct 2015 22:58:43 +0000 (15:58 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Oct 2015 05:58:35 +0000 (22:58 -0700)
Rename this CamelCase define.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/dt9812.c

index 92ec0d6c0366358676cadf8f967555e0c3b9759a..23bd3218bb046412f98a6169b8dad1ff078c44e1 100644 (file)
@@ -80,7 +80,7 @@
 #define F020_MASK_ADC0CN_AD0INT                0x20
 #define F020_MASK_ADC0CN_AD0BUSY       0x10
 
-#define F020_MASK_DACxCN_DACxEN                0x80
+#define F020_MASK_DACXCN_DACXEN                0x80
 
 enum {
                                        /* A/D  D/A  DI  DO  CT */
@@ -511,7 +511,7 @@ static int dt9812_analog_out(struct comedi_device *dev, int channel, u16 value)
                /* 1. Set DAC mode */
                rmw[0].address = F020_SFR_DAC0CN;
                rmw[0].and_mask = 0xff;
-               rmw[0].or_value = F020_MASK_DACxCN_DACxEN;
+               rmw[0].or_value = F020_MASK_DACXCN_DACXEN;
 
                /* 2 load low byte of DAC value first */
                rmw[1].address = F020_SFR_DAC0L;
@@ -529,7 +529,7 @@ static int dt9812_analog_out(struct comedi_device *dev, int channel, u16 value)
                /* 1. Set DAC mode */
                rmw[0].address = F020_SFR_DAC1CN;
                rmw[0].and_mask = 0xff;
-               rmw[0].or_value = F020_MASK_DACxCN_DACxEN;
+               rmw[0].or_value = F020_MASK_DACXCN_DACXEN;
 
                /* 2 load low byte of DAC value first */
                rmw[1].address = F020_SFR_DAC1L;