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

staging: comedi: amplc_pci230: 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 a19d9824
...@@ -546,15 +546,16 @@ static const unsigned int pci230_timebase[8] = { ...@@ -546,15 +546,16 @@ static const unsigned int pci230_timebase[8] = {
}; };
/* PCI230 analogue input range table */ /* PCI230 analogue input range table */
static const struct comedi_lrange pci230_ai_range = { 7, { static const struct comedi_lrange pci230_ai_range = {
BIP_RANGE(10), 7, {
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(2.5)
}
}; };
/* PCI230 analogue gain bits for each input range. */ /* PCI230 analogue gain bits for each input range. */
...@@ -564,10 +565,11 @@ static const unsigned char pci230_ai_gain[7] = { 0, 1, 2, 3, 1, 2, 3 }; ...@@ -564,10 +565,11 @@ static const unsigned char pci230_ai_gain[7] = { 0, 1, 2, 3, 1, 2, 3 };
static const unsigned char pci230_ai_bipolar[7] = { 1, 1, 1, 1, 0, 0, 0 }; static const unsigned char pci230_ai_bipolar[7] = { 1, 1, 1, 1, 0, 0, 0 };
/* PCI230 analogue output range table */ /* PCI230 analogue output range table */
static const struct comedi_lrange pci230_ao_range = { 2, { static const struct comedi_lrange pci230_ao_range = {
UNI_RANGE(10), 2, {
BIP_RANGE(10) UNI_RANGE(10),
} BIP_RANGE(10)
}
}; };
/* PCI230 daccon bipolar flag for each analogue output range. */ /* PCI230 daccon bipolar flag for each analogue output range. */
......
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