Staging: comedi: fixed warning shown by checkpatch tool on cb_das16_cs.c file
authorRaghavendra Ganiga <ravi23ganiga@gmail.com>
Mon, 19 May 2014 16:11:36 +0000 (21:41 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 12:30:25 +0000 (21:30 +0900)
This is a patch to fix the warnings shown by checkpatch tool on
file cb_das16_cs.c

Signed-off-by: Raghavendra Chandra Ganiga <ravi23ganiga@gmail.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/cb_das16_cs.c

index 645fcb0cf17d48739143011db899087b64a721fe..eb1b92d72e8789fd1a9aaf1cb5a33ef48d9e32df 100644 (file)
@@ -184,6 +184,7 @@ static int das16cs_ao_winsn(struct comedi_device *dev,
 
                for (bit = 15; bit >= 0; bit--) {
                        int b = (d >> bit) & 0x1;
+
                        b <<= 1;
                        outw(status1 | b | 0x0000, dev->iobase + DAS16CS_MISC1);
                        udelay(1);