staging: comedi: amplc_pci263: tidy up digital output subdevice init
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 30 Mar 2016 18:45:18 +0000 (11:45 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 31 Mar 2016 04:04:53 +0000 (21:04 -0700)
For aesthetics, add some whitespace to the digital output subdevice
initialization.

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

index fa36bd5587d4158d309e32434b454276106bb357..c47f042465e71c6164e727da8d92b0dbe2b77c90 100644 (file)
@@ -67,14 +67,15 @@ static int pci263_auto_attach(struct comedi_device *dev,
        if (ret)
                return ret;
 
+       /* Digital Output subdevice */
        s = &dev->subdevices[0];
-       /* digital output subdevice */
-       s->type = COMEDI_SUBD_DO;
-       s->subdev_flags = SDF_WRITABLE;
-       s->n_chan = 16;
-       s->maxdata = 1;
-       s->range_table = &range_digital;
-       s->insn_bits = pci263_do_insn_bits;
+       s->type         = COMEDI_SUBD_DO;
+       s->subdev_flags = SDF_WRITABLE;
+       s->n_chan       = 16;
+       s->maxdata      = 1;
+       s->range_table  = &range_digital;
+       s->insn_bits    = pci263_do_insn_bits;
+
        /* read initial relay state */
        s->state = inb(dev->iobase) | (inb(dev->iobase + 1) << 8);