staging: comedi: acl7225b: add some whitespace to the subdevice init

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>
This commit is contained in:
H Hartley Sweeten 2013-04-08 14:30:40 -07:00 committed by Greg Kroah-Hartman
parent b329827d46
commit 27b88d6dc3

View file

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