From: H Hartley Sweeten Date: Mon, 14 Jul 2014 19:24:05 +0000 (-0700) Subject: staging: comedi: ni_mio_common: tidy up the frequency output subdevice init X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4168ac9db7ee98634e7fa15c58ec2165ab80e1a0;p=linux-beck.git staging: comedi: ni_mio_common: tidy up the frequency output subdevice init For aesthetics, add some whitespace to the subdevice init. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/ni_mio_common.c b/drivers/staging/comedi/drivers/ni_mio_common.c index 6545f11fe669..01b29d5ec392 100644 --- a/drivers/staging/comedi/drivers/ni_mio_common.c +++ b/drivers/staging/comedi/drivers/ni_mio_common.c @@ -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,