OSDN Git Service

staging: comedi: ni_labpc: Logical continuations should be on the previous line
authorIan Abbott <abbotti@mev.co.uk>
Tue, 19 Aug 2014 15:06:31 +0000 (16:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Aug 2014 20:18:56 +0000 (13:18 -0700)
Fix checkpatch issues "CHECK: Logical continuations should be on the
previous line".

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/ni_labpc.c

index 7210a04..f551a3b 100644 (file)
@@ -929,9 +929,9 @@ static irqreturn_t labpc_interrupt(int irq, void *d)
                devpriv->stat2 = devpriv->read_byte(dev, STAT2_REG);
 
        if ((devpriv->stat1 & (STAT1_GATA0 | STAT1_CNTINT | STAT1_OVERFLOW |
-                              STAT1_OVERRUN | STAT1_DAVAIL)) == 0
-           && (devpriv->stat2 & STAT2_OUTA1) == 0
-           && (devpriv->stat2 & STAT2_FIFONHF)) {
+                              STAT1_OVERRUN | STAT1_DAVAIL)) == 0 &&
+           (devpriv->stat2 & STAT2_OUTA1) == 0 &&
+           (devpriv->stat2 & STAT2_FIFONHF)) {
                return IRQ_NONE;
        }