staging: comedi: aio_aio12_8: tidy up digital I/O subdevice init
For aesthetics, move and reword the comment to follow the format of the other subdevices. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> CC: Ian Abbott <abbotti@mev.co.uk> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
fbea1876dc
commit
9f4d30ddfa
1 changed files with 1 additions and 1 deletions
|
|
@ -255,8 +255,8 @@ static int aio_aio12_8_attach(struct comedi_device *dev,
|
|||
s->type = COMEDI_SUBD_UNUSED;
|
||||
}
|
||||
|
||||
/* Digital I/O subdevice (8255) */
|
||||
s = &dev->subdevices[2];
|
||||
/* 8255 Digital i/o subdevice */
|
||||
ret = subdev_8255_init(dev, s, NULL, AIO12_8_8255_BASE_REG);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue