forked from luck/tmp_suning_uos_patched
staging: comedi: amplc_pci230: tidy up comedi_lrange tables
Tidy up the whitespace in the comedi_lrange tables. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
a19d98244e
commit
1179b1d780
@ -546,15 +546,16 @@ static const unsigned int pci230_timebase[8] = {
|
||||
};
|
||||
|
||||
/* PCI230 analogue input range table */
|
||||
static const struct comedi_lrange pci230_ai_range = { 7, {
|
||||
BIP_RANGE(10),
|
||||
BIP_RANGE(5),
|
||||
BIP_RANGE(2.5),
|
||||
BIP_RANGE(1.25),
|
||||
UNI_RANGE(10),
|
||||
UNI_RANGE(5),
|
||||
UNI_RANGE(2.5)
|
||||
}
|
||||
static const struct comedi_lrange pci230_ai_range = {
|
||||
7, {
|
||||
BIP_RANGE(10),
|
||||
BIP_RANGE(5),
|
||||
BIP_RANGE(2.5),
|
||||
BIP_RANGE(1.25),
|
||||
UNI_RANGE(10),
|
||||
UNI_RANGE(5),
|
||||
UNI_RANGE(2.5)
|
||||
}
|
||||
};
|
||||
|
||||
/* 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 };
|
||||
static const unsigned char pci230_ai_bipolar[7] = { 1, 1, 1, 1, 0, 0, 0 };
|
||||
|
||||
/* PCI230 analogue output range table */
|
||||
static const struct comedi_lrange pci230_ao_range = { 2, {
|
||||
UNI_RANGE(10),
|
||||
BIP_RANGE(10)
|
||||
}
|
||||
static const struct comedi_lrange pci230_ao_range = {
|
||||
2, {
|
||||
UNI_RANGE(10),
|
||||
BIP_RANGE(10)
|
||||
}
|
||||
};
|
||||
|
||||
/* PCI230 daccon bipolar flag for each analogue output range. */
|
||||
|
Loading…
Reference in New Issue
Block a user