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

staging: comedi: cb_pcidas64: 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 daed6c72
......@@ -429,8 +429,7 @@ static inline uint8_t attenuate_bit(unsigned int channel)
/* analog input ranges for 64xx boards */
static const struct comedi_lrange ai_ranges_64xx = {
8,
{
8, {
BIP_RANGE(10),
BIP_RANGE(5),
BIP_RANGE(2.5),
......@@ -444,19 +443,17 @@ static const struct comedi_lrange ai_ranges_64xx = {
/* analog input ranges for 60xx boards */
static const struct comedi_lrange ai_ranges_60xx = {
4,
{
4, {
BIP_RANGE(10),
BIP_RANGE(5),
BIP_RANGE(0.5),
BIP_RANGE(0.05),
BIP_RANGE(0.05)
}
};
/* analog input ranges for 6030, etc boards */
static const struct comedi_lrange ai_ranges_6030 = {
14,
{
14, {
BIP_RANGE(10),
BIP_RANGE(5),
BIP_RANGE(2),
......@@ -470,14 +467,13 @@ static const struct comedi_lrange ai_ranges_6030 = {
UNI_RANGE(1),
UNI_RANGE(0.5),
UNI_RANGE(0.2),
UNI_RANGE(0.1),
UNI_RANGE(0.1)
}
};
/* analog input ranges for 6052, etc boards */
static const struct comedi_lrange ai_ranges_6052 = {
15,
{
15, {
BIP_RANGE(10),
BIP_RANGE(5),
BIP_RANGE(2.5),
......@@ -492,27 +488,25 @@ static const struct comedi_lrange ai_ranges_6052 = {
UNI_RANGE(1),
UNI_RANGE(0.5),
UNI_RANGE(0.2),
UNI_RANGE(0.1),
UNI_RANGE(0.1)
}
};
/* analog input ranges for 4020 board */
static const struct comedi_lrange ai_ranges_4020 = {
2,
{
2, {
BIP_RANGE(5),
BIP_RANGE(1),
BIP_RANGE(1)
}
};
/* analog output ranges */
static const struct comedi_lrange ao_ranges_64xx = {
4,
{
4, {
BIP_RANGE(5),
BIP_RANGE(10),
UNI_RANGE(5),
UNI_RANGE(10),
UNI_RANGE(10)
}
};
......@@ -528,10 +522,9 @@ static const int ao_range_code_60xx[] = {
};
static const struct comedi_lrange ao_ranges_6030 = {
2,
{
2, {
BIP_RANGE(10),
UNI_RANGE(10),
UNI_RANGE(10)
}
};
......@@ -541,10 +534,9 @@ static const int ao_range_code_6030[] = {
};
static const struct comedi_lrange ao_ranges_4020 = {
2,
{
2, {
BIP_RANGE(5),
BIP_RANGE(10),
BIP_RANGE(10)
}
};
......
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