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

staging: comedi: das16: tidy up the comedi_lrange tables

Cleanup the whitespace in the 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 6d063851
...@@ -238,62 +238,67 @@ static const int sample_size = 2; ...@@ -238,62 +238,67 @@ static const int sample_size = 2;
#define DAS1600_WS 0x02 #define DAS1600_WS 0x02
#define DAS1600_CLK_10MHZ 0x01 #define DAS1600_CLK_10MHZ 0x01
static const struct comedi_lrange range_das1x01_bip = { 4, { static const struct comedi_lrange range_das1x01_bip = {
BIP_RANGE(10), 4, {
BIP_RANGE(1), BIP_RANGE(10),
BIP_RANGE(0.1), BIP_RANGE(1),
BIP_RANGE(0.01), BIP_RANGE(0.1),
} BIP_RANGE(0.01)
}
}; };
static const struct comedi_lrange range_das1x01_unip = { 4, { static const struct comedi_lrange range_das1x01_unip = {
UNI_RANGE(10), 4, {
UNI_RANGE(1), UNI_RANGE(10),
UNI_RANGE(0.1), UNI_RANGE(1),
UNI_RANGE(0.01), UNI_RANGE(0.1),
} UNI_RANGE(0.01)
}
}; };
static const struct comedi_lrange range_das1x02_bip = { 4, { static const struct comedi_lrange range_das1x02_bip = {
BIP_RANGE(10), 4, {
BIP_RANGE(5), BIP_RANGE(10),
BIP_RANGE(2.5), BIP_RANGE(5),
BIP_RANGE(1.25), BIP_RANGE(2.5),
} BIP_RANGE(1.25)
}
}; };
static const struct comedi_lrange range_das1x02_unip = { 4, { static const struct comedi_lrange range_das1x02_unip = {
UNI_RANGE(10), 4, {
UNI_RANGE(5), UNI_RANGE(10),
UNI_RANGE(2.5), UNI_RANGE(5),
UNI_RANGE(1.25), UNI_RANGE(2.5),
} UNI_RANGE(1.25)
}
}; };
static const struct comedi_lrange range_das16jr = { 9, { static const struct comedi_lrange range_das16jr = {
/* also used by 16/330 */ 9, {
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),
BIP_RANGE(0.625), BIP_RANGE(0.625),
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)
} }
}; };
static const struct comedi_lrange range_das16jr_16 = { 8, { static const struct comedi_lrange range_das16jr_16 = {
BIP_RANGE(10), 8, {
BIP_RANGE(5), BIP_RANGE(10),
BIP_RANGE(2.5), BIP_RANGE(5),
BIP_RANGE(1.25), BIP_RANGE(2.5),
UNI_RANGE(10), BIP_RANGE(1.25),
UNI_RANGE(5), UNI_RANGE(10),
UNI_RANGE(2.5), UNI_RANGE(5),
UNI_RANGE(1.25), UNI_RANGE(2.5),
} UNI_RANGE(1.25)
}
}; };
static const int das16jr_gainlist[] = { 8, 0, 1, 2, 3, 4, 5, 6, 7 }; static const int das16jr_gainlist[] = { 8, 0, 1, 2, 3, 4, 5, 6, 7 };
......
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