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

staging: comedi: amplc_pci224: 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 713d5512
......@@ -267,8 +267,7 @@ Passing a zero for an option is the same as leaving it unspecified.
/* The software selectable internal ranges for PCI224 (option[2] == 0). */
static const struct comedi_lrange range_pci224_internal = {
8,
{
8, {
BIP_RANGE(10),
BIP_RANGE(5),
BIP_RANGE(2.5),
......@@ -276,7 +275,7 @@ static const struct comedi_lrange range_pci224_internal = {
UNI_RANGE(10),
UNI_RANGE(5),
UNI_RANGE(2.5),
UNI_RANGE(1.25),
UNI_RANGE(1.25)
}
};
......@@ -293,10 +292,9 @@ static const unsigned short hwrange_pci224_internal[8] = {
/* The software selectable external ranges for PCI224 (option[2] == 1). */
static const struct comedi_lrange range_pci224_external = {
2,
{
2, {
RANGE_ext(-1, 1), /* bipolar [-Vref,+Vref] */
RANGE_ext(0, 1), /* unipolar [0,+Vref] */
RANGE_ext(0, 1) /* unipolar [0,+Vref] */
}
};
......@@ -308,18 +306,16 @@ static const unsigned short hwrange_pci224_external[2] = {
/* The hardware selectable Vref*2 external range for PCI234
* (option[2] == 1, option[3+n] == 0). */
static const struct comedi_lrange range_pci234_ext2 = {
1,
{
RANGE_ext(-2, 2),
1, {
RANGE_ext(-2, 2)
}
};
/* The hardware selectable Vref external range for PCI234
* (option[2] == 1, option[3+n] == 1). */
static const struct comedi_lrange range_pci234_ext = {
1,
{
RANGE_ext(-1, 1),
1, {
RANGE_ext(-1, 1)
}
};
......
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