For aesthetics, rename these defines used for the A/D LSB/MSB registers. Signed-off-by: H Hartley Sweeten <hsweeten@xxxxxxxxxxxxxxxxxxx> Cc: Ian Abbott <abbotti@xxxxxxxxx> Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/staging/comedi/drivers/dmm32at.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/comedi/drivers/dmm32at.c b/drivers/staging/comedi/drivers/dmm32at.c index ee6e510..e398111 100644 --- a/drivers/staging/comedi/drivers/dmm32at.c +++ b/drivers/staging/comedi/drivers/dmm32at.c @@ -42,9 +42,9 @@ Configuration Options: /* Board register addresses */ #define DMM32AT_AI_START_CONV_REG 0x00 -#define DMM32AT_AILSB 0x00 +#define DMM32AT_AI_LSB_REG 0x00 #define DMM32AT_AUXDOUT 0x01 -#define DMM32AT_AIMSB 0x01 +#define DMM32AT_AI_MSB_REG 0x01 #define DMM32AT_AILOW 0x02 #define DMM32AT_AIHIGH 0x03 @@ -164,8 +164,8 @@ static unsigned int dmm32at_ai_get_sample(struct comedi_device *dev, { unsigned int val; - val = inb(dev->iobase + DMM32AT_AILSB); - val |= (inb(dev->iobase + DMM32AT_AIMSB) << 8); + val = inb(dev->iobase + DMM32AT_AI_LSB_REG); + val |= (inb(dev->iobase + DMM32AT_AI_MSB_REG) << 8); /* munge two's complement value to offset binary */ return comedi_offset_munge(s, val); -- 2.0.3 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel