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,17 +267,16 @@ Passing a zero for an option is the same as leaving it unspecified. ...@@ -267,17 +267,16 @@ Passing a zero for an option is the same as leaving it unspecified.
/* The software selectable internal ranges for PCI224 (option[2] == 0). */ /* The software selectable internal ranges for PCI224 (option[2] == 0). */
static const struct comedi_lrange range_pci224_internal = { static const struct comedi_lrange range_pci224_internal = {
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), }
}
}; };
static const unsigned short hwrange_pci224_internal[8] = { static const unsigned short hwrange_pci224_internal[8] = {
...@@ -293,11 +292,10 @@ static const unsigned short hwrange_pci224_internal[8] = { ...@@ -293,11 +292,10 @@ static const unsigned short hwrange_pci224_internal[8] = {
/* The software selectable external ranges for PCI224 (option[2] == 1). */ /* The software selectable external ranges for PCI224 (option[2] == 1). */
static const struct comedi_lrange range_pci224_external = { static const struct comedi_lrange range_pci224_external = {
2, 2, {
{ RANGE_ext(-1, 1), /* bipolar [-Vref,+Vref] */
RANGE_ext(-1, 1), /* bipolar [-Vref,+Vref] */ RANGE_ext(0, 1) /* unipolar [0,+Vref] */
RANGE_ext(0, 1), /* unipolar [0,+Vref] */ }
}
}; };
static const unsigned short hwrange_pci224_external[2] = { static const unsigned short hwrange_pci224_external[2] = {
...@@ -308,19 +306,17 @@ static const unsigned short hwrange_pci224_external[2] = { ...@@ -308,19 +306,17 @@ static const unsigned short hwrange_pci224_external[2] = {
/* The hardware selectable Vref*2 external range for PCI234 /* The hardware selectable Vref*2 external range for PCI234
* (option[2] == 1, option[3+n] == 0). */ * (option[2] == 1, option[3+n] == 0). */
static const struct comedi_lrange range_pci234_ext2 = { static const struct comedi_lrange range_pci234_ext2 = {
1, 1, {
{ RANGE_ext(-2, 2)
RANGE_ext(-2, 2), }
}
}; };
/* The hardware selectable Vref external range for PCI234 /* The hardware selectable Vref external range for PCI234
* (option[2] == 1, option[3+n] == 1). */ * (option[2] == 1, option[3+n] == 1). */
static const struct comedi_lrange range_pci234_ext = { static const struct comedi_lrange range_pci234_ext = {
1, 1, {
{ RANGE_ext(-1, 1)
RANGE_ext(-1, 1), }
}
}; };
/* This serves for all the PCI234 ranges. */ /* This serves for all the PCI234 ranges. */
......
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