staging: comedi: multiq3: checkpatch.pl cleanup (missing blank line)
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 16 Jul 2014 18:02:05 +0000 (11:02 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Jul 2014 20:37:20 +0000 (13:37 -0700)
Fix the checkpatch.pl warning:

WARNING: Missing a blank line after declarations

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/multiq3.c

index b74b9e9bfd4a0b712bb258184a407fb56d0003e8..60bda9c47cf1d1fc0d6ea6810362bfca15edfe9c 100644 (file)
@@ -189,12 +189,12 @@ static int multiq3_encoder_insn_read(struct comedi_device *dev,
                                     struct comedi_insn *insn,
                                     unsigned int *data)
 {
-       int n;
        int chan = CR_CHAN(insn->chanspec);
        int control = MULTIQ3_CONTROL_MUST | MULTIQ3_AD_MUX_EN | (chan << 3);
+       int value;
+       int n;
 
        for (n = 0; n < insn->n; n++) {
-               int value;
                outw(control, dev->iobase + MULTIQ3_CONTROL);
                outb(MULTIQ3_BP_RESET, dev->iobase + MULTIQ3_ENC_CONTROL);
                outb(MULTIQ3_TRSFRCNTR_OL, dev->iobase + MULTIQ3_ENC_CONTROL);