staging: comedi: amplc_pci230: remove some indentation in pci230_ai_check_chanlist()
authorIan Abbott <abbotti@mev.co.uk>
Tue, 29 Jul 2014 11:58:22 +0000 (12:58 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Jul 2014 23:54:04 +0000 (16:54 -0700)
A few lines in `pci230_ai_check_chanlist()` are indented one level too
much, so remove the excess indentation.

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

index 4222e2852722cab71f8c6172a1b4baeb36fe627b..37e72f6c025425bfcbd8b06c6931de8501087116 100644 (file)
@@ -1616,10 +1616,10 @@ static int pci230_ai_check_chanlist(struct comedi_device *dev,
 
                        if (subseq_len > 0 &&
                            cmd->chanlist[i % subseq_len] != chanspec) {
-                                       dev_dbg(dev->class_dev,
-                                               "%s: channel numbers must increase or sequence must repeat exactly\n",
-                                               __func__);
-                                       return -EINVAL;
+                               dev_dbg(dev->class_dev,
+                                       "%s: channel numbers must increase or sequence must repeat exactly\n",
+                                       __func__);
+                               return -EINVAL;
                        }
 
                        if (aref != prev_aref) {