From: H Hartley Sweeten Date: Mon, 14 Jul 2014 19:24:02 +0000 (-0700) Subject: staging: comedi: ni_mio_common: tidy up the EEPROM subdevice init X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=433c79f92edc52ec754a52acae65fcde4661c8d9;p=linux-beck.git staging: comedi: ni_mio_common: tidy up the EEPROM 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 49c22d61fb90..8f7edcdc1f1d 100644 --- a/drivers/staging/comedi/drivers/ni_mio_common.c +++ b/drivers/staging/comedi/drivers/ni_mio_common.c @@ -5665,17 +5665,17 @@ static int ni_E_init(struct comedi_device *dev, caldac_setup(dev, s); } - /* EEPROM */ + /* EEPROM subdevice */ s = &dev->subdevices[NI_EEPROM_SUBDEV]; - s->type = COMEDI_SUBD_MEMORY; - s->subdev_flags = SDF_READABLE | SDF_INTERNAL; - s->maxdata = 0xff; + s->type = COMEDI_SUBD_MEMORY; + s->subdev_flags = SDF_READABLE | SDF_INTERNAL; + s->maxdata = 0xff; if (devpriv->is_m_series) { - s->n_chan = M_SERIES_EEPROM_SIZE; - s->insn_read = &ni_m_series_eeprom_insn_read; + s->n_chan = M_SERIES_EEPROM_SIZE; + s->insn_read = ni_m_series_eeprom_insn_read; } else { - s->n_chan = 512; - s->insn_read = &ni_eeprom_insn_read; + s->n_chan = 512; + s->insn_read = ni_eeprom_insn_read; } /* PFI */