]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: comedi: aio_aio12_8: tidy up digital I/O subdevice init
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 12 Oct 2015 19:16:38 +0000 (12:16 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Oct 2015 17:26:06 +0000 (10:26 -0700)
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>
drivers/staging/comedi/drivers/aio_aio12_8.c

index 62e526bb2d4199c5285cd784eb295948efacdfb6..43a0ce5721d3a3e6a8f7cf943848b567b46ed6e4 100644 (file)
@@ -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;