OSDN Git Service

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 4222e28..37e72f6 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) {