Commit 1491ca0d authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: cb_pcidas: tidy up comedi_lrange tables

Tidy up the whitespace in the comedi_lrange tables.
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9cbde70c
...@@ -181,43 +181,40 @@ static inline unsigned int DAC_DATA_REG(unsigned int channel) ...@@ -181,43 +181,40 @@ static inline unsigned int DAC_DATA_REG(unsigned int channel)
/* analog input ranges for most boards */ /* analog input ranges for most boards */
static const struct comedi_lrange cb_pcidas_ranges = { static const struct comedi_lrange cb_pcidas_ranges = {
8, 8, {
{ BIP_RANGE(10),
BIP_RANGE(10), BIP_RANGE(5),
BIP_RANGE(5), BIP_RANGE(2.5),
BIP_RANGE(2.5), BIP_RANGE(1.25),
BIP_RANGE(1.25), UNI_RANGE(10),
UNI_RANGE(10), UNI_RANGE(5),
UNI_RANGE(5), UNI_RANGE(2.5),
UNI_RANGE(2.5), UNI_RANGE(1.25)
UNI_RANGE(1.25) }
}
}; };
/* pci-das1001 input ranges */ /* pci-das1001 input ranges */
static const struct comedi_lrange cb_pcidas_alt_ranges = { static const struct comedi_lrange cb_pcidas_alt_ranges = {
8, 8, {
{ BIP_RANGE(10),
BIP_RANGE(10), BIP_RANGE(1),
BIP_RANGE(1), BIP_RANGE(0.1),
BIP_RANGE(0.1), BIP_RANGE(0.01),
BIP_RANGE(0.01), UNI_RANGE(10),
UNI_RANGE(10), UNI_RANGE(1),
UNI_RANGE(1), UNI_RANGE(0.1),
UNI_RANGE(0.1), UNI_RANGE(0.01)
UNI_RANGE(0.01) }
}
}; };
/* analog output ranges */ /* analog output ranges */
static const struct comedi_lrange cb_pcidas_ao_ranges = { static const struct comedi_lrange cb_pcidas_ao_ranges = {
4, 4, {
{ BIP_RANGE(5),
BIP_RANGE(5), BIP_RANGE(10),
BIP_RANGE(10), UNI_RANGE(5),
UNI_RANGE(5), UNI_RANGE(10)
UNI_RANGE(10), }
}
}; };
enum trimpot_model { enum trimpot_model {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment