]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: comedi: ni_mio_common: tidy up the frequency output subdevice init
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 14 Jul 2014 19:24:05 +0000 (12:24 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Jul 2014 20:24:44 +0000 (13:24 -0700)
For aesthetics, add some whitespace to the subdevice init.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/ni_mio_common.c

index 6545f11fe669c358c42bd91550650b371a884521..01b29d5ec392fd5610c1e278c628cbdddc7bb209 100644 (file)
@@ -5777,15 +5777,15 @@ static int ni_E_init(struct comedi_device *dev,
                s->private      = gpct;
        }
 
-       /* Frequency output */
+       /* Frequency output subdevice */
        s = &dev->subdevices[NI_FREQ_OUT_SUBDEV];
-       s->type = COMEDI_SUBD_COUNTER;
-       s->subdev_flags = SDF_READABLE | SDF_WRITABLE;
-       s->n_chan = 1;
-       s->maxdata = 0xf;
-       s->insn_read = &ni_freq_out_insn_read;
-       s->insn_write = &ni_freq_out_insn_write;
-       s->insn_config = &ni_freq_out_insn_config;
+       s->type         = COMEDI_SUBD_COUNTER;
+       s->subdev_flags = SDF_READABLE | SDF_WRITABLE;
+       s->n_chan       = 1;
+       s->maxdata      = 0xf;
+       s->insn_read    = ni_freq_out_insn_read;
+       s->insn_write   = ni_freq_out_insn_write;
+       s->insn_config  = ni_freq_out_insn_config;
 
        if (dev->irq) {
                ni_stc_writew(dev,