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

staging: comedi: ni_pcimio: tidy up comedi_lrange tables

Tidy up the whitespace in the comedi_lrange tables.

Use the BIP_RANGE and UNI_RANGE macros instead of the more generic
RANGE macro to reduce possible typo errors.
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 2cdbefe6
...@@ -132,24 +132,26 @@ SCXI is probably broken for m-series boards. ...@@ -132,24 +132,26 @@ SCXI is probably broken for m-series boards.
63 different possibilities. An AO channel 63 different possibilities. An AO channel
can not act as it's own OFFSET or REFERENCE. can not act as it's own OFFSET or REFERENCE.
*/ */
static const struct comedi_lrange range_ni_M_628x_ao = { 8, { static const struct comedi_lrange range_ni_M_628x_ao = {
RANGE(-10, 10), 8, {
RANGE(-5, 5), BIP_RANGE(10),
RANGE(-2, 2), BIP_RANGE(5),
RANGE(-1, 1), BIP_RANGE(2),
RANGE(-5, 15), BIP_RANGE(1),
RANGE(0, 10), RANGE(-5, 15),
RANGE(3, 7), UNI_RANGE(10),
RANGE(4, 6), RANGE(3, 7),
RANGE_ext(-1, 1) RANGE(4, 6),
} RANGE_ext(-1, 1)
}
}; };
static const struct comedi_lrange range_ni_M_625x_ao = { 3, { static const struct comedi_lrange range_ni_M_625x_ao = {
RANGE(-10, 10), 3, {
RANGE(-5, 5), BIP_RANGE(10),
RANGE_ext(-1, 1) BIP_RANGE(5),
} RANGE_ext(-1, 1)
}
}; };
enum ni_pcimio_boardid { enum ni_pcimio_boardid {
......
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