staging: comedi: dt3000: add some whitespace to the subdevice init
To improve the readability, add some whitespace to the subdevice init. 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:
parent
c3ebe8f634
commit
4fbb1c4c4b
1 changed files with 33 additions and 34 deletions
|
@ -817,7 +817,6 @@ static int dt3000_attach_pci(struct comedi_device *dev,
|
||||||
|
|
||||||
s = &dev->subdevices[0];
|
s = &dev->subdevices[0];
|
||||||
dev->read_subdev = s;
|
dev->read_subdev = s;
|
||||||
|
|
||||||
/* ai subdevice */
|
/* ai subdevice */
|
||||||
s->type = COMEDI_SUBD_AI;
|
s->type = COMEDI_SUBD_AI;
|
||||||
s->subdev_flags = SDF_READABLE | SDF_GROUND | SDF_DIFF | SDF_CMD_READ;
|
s->subdev_flags = SDF_READABLE | SDF_GROUND | SDF_DIFF | SDF_CMD_READ;
|
||||||
|
|
Loading…
Add table
Reference in a new issue