staging: comedi: acl7225b: add some whitespace to the subdevice init
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 8 Apr 2013 21:30:40 +0000 (14:30 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Apr 2013 23:19:43 +0000 (16:19 -0700)
For aesthetic reasons, add some whitespace to the subdevice init
to make it more readable.

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/acl7225b.c

index 132e26861f157655ebb6925074cf1cd79aab300f..4a4c7f4c4efc344fa2c0c7311dba4f274ae0867c 100644 (file)
@@ -83,33 +83,33 @@ static int acl7225b_attach(struct comedi_device *dev,
 
        s = &dev->subdevices[0];
        /* Relays outputs */
-       s->type = COMEDI_SUBD_DO;
-       s->subdev_flags = SDF_WRITABLE;
-       s->maxdata = 1;
-       s->n_chan = 16;
-       s->insn_bits = acl7225b_do_insn;
-       s->range_table = &range_digital;
-       s->private = (void *)ACL7225_RIO_LO;
+       s->type         = COMEDI_SUBD_DO;
+       s->subdev_flags = SDF_WRITABLE;
+       s->maxdata      = 1;
+       s->n_chan       = 16;
+       s->insn_bits    = acl7225b_do_insn;
+       s->range_table  = &range_digital;
+       s->private      = (void *)ACL7225_RIO_LO;
 
        s = &dev->subdevices[1];
        /* Relays status */
-       s->type = COMEDI_SUBD_DI;
-       s->subdev_flags = SDF_READABLE;
-       s->maxdata = 1;
-       s->n_chan = 16;
-       s->insn_bits = acl7225b_di_insn;
-       s->range_table = &range_digital;
-       s->private = (void *)ACL7225_RIO_LO;
+       s->type         = COMEDI_SUBD_DI;
+       s->subdev_flags = SDF_READABLE;
+       s->maxdata      = 1;
+       s->n_chan       = 16;
+       s->insn_bits    = acl7225b_di_insn;
+       s->range_table  = &range_digital;
+       s->private      = (void *)ACL7225_RIO_LO;
 
        s = &dev->subdevices[2];
        /* Isolated digital inputs */
-       s->type = COMEDI_SUBD_DI;
-       s->subdev_flags = SDF_READABLE;
-       s->maxdata = 1;
-       s->n_chan = 16;
-       s->insn_bits = acl7225b_di_insn;
-       s->range_table = &range_digital;
-       s->private = (void *)ACL7225_DI_LO;
+       s->type         = COMEDI_SUBD_DI;
+       s->subdev_flags = SDF_READABLE;
+       s->maxdata      = 1;
+       s->n_chan       = 16;
+       s->insn_bits    = acl7225b_di_insn;
+       s->range_table  = &range_digital;
+       s->private      = (void *)ACL7225_DI_LO;
 
        return 0;
 }