staging/comedi: Fix trailing statements should be on next line in drivers/quatech_daq...
authorYAMANE Toshiaki <yamanetoshi@gmail.com>
Sat, 27 Oct 2012 21:46:33 +0000 (06:46 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 29 Oct 2012 21:59:39 +0000 (14:59 -0700)
fixed below checkpatch errors.
- ERROR: trailing statements should be on next line

Signed-off-by: YAMANE Toshiaki <yamanetoshi@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/quatech_daqp_cs.c

index d15bd8a..806523c 100644 (file)
@@ -395,7 +395,8 @@ static int daqp_ai_insn_read(struct comedi_device *dev,
         */
 
        while (--counter
-              && (inb(dev->iobase + DAQP_STATUS) & DAQP_STATUS_EVENTS)) ;
+              && (inb(dev->iobase + DAQP_STATUS) & DAQP_STATUS_EVENTS))
+               ;
        if (!counter) {
                printk("daqp: couldn't clear interrupts in status register\n");
                return -1;
@@ -732,7 +733,8 @@ static int daqp_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s)
         */
        counter = 100;
        while (--counter
-              && (inb(dev->iobase + DAQP_STATUS) & DAQP_STATUS_EVENTS)) ;
+              && (inb(dev->iobase + DAQP_STATUS) & DAQP_STATUS_EVENTS))
+               ;
        if (!counter) {
                dev_err(dev->class_dev,
                        "couldn't clear interrupts in status register\n");