staging: comedi: dt9812: reword comments to fix checkpatch.pl issues
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 7 Oct 2015 22:58:44 +0000 (15:58 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Oct 2015 05:58:35 +0000 (22:58 -0700)
Reword the block comments to fix the checkpatch.pl issues about:

WARNING: Block comments use * on subsequent lines
WARNING: Block comments use a trailing */ on a separate line

For consistency, also reword the previous comments.

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 23bd3218bb046412f98a6169b8dad1ff078c44e1..0a4ee8b75aba348dea2fe5e2528f22228c74536e 100644 (file)
@@ -513,13 +513,12 @@ static int dt9812_analog_out(struct comedi_device *dev, int channel, u16 value)
                rmw[0].and_mask = 0xff;
                rmw[0].or_value = F020_MASK_DACXCN_DACXEN;
 
-               /* 2 load low byte of DAC value first */
+               /* 2. load lsb of DAC value first */
                rmw[1].address = F020_SFR_DAC0L;
                rmw[1].and_mask = 0xff;
                rmw[1].or_value = value & 0xff;
 
-               /* 3 load high byte of DAC value next to latch the
-                       12-bit value */
+               /* 3. load msb of DAC value next to latch the 12-bit value */
                rmw[2].address = F020_SFR_DAC0H;
                rmw[2].and_mask = 0xff;
                rmw[2].or_value = (value >> 8) & 0xf;
@@ -531,13 +530,12 @@ static int dt9812_analog_out(struct comedi_device *dev, int channel, u16 value)
                rmw[0].and_mask = 0xff;
                rmw[0].or_value = F020_MASK_DACXCN_DACXEN;
 
-               /* 2 load low byte of DAC value first */
+               /* 2. load lsb of DAC value first */
                rmw[1].address = F020_SFR_DAC1L;
                rmw[1].and_mask = 0xff;
                rmw[1].or_value = value & 0xff;
 
-               /* 3 load high byte of DAC value next to latch the
-                       12-bit value */
+               /* 3. load msb of DAC value next to latch the 12-bit value */
                rmw[2].address = F020_SFR_DAC1H;
                rmw[2].and_mask = 0xff;
                rmw[2].or_value = (value >> 8) & 0xf;