mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-06 09:56:25 -04:00
staging: comedi: cb_pcidas: 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:
committed by
Greg Kroah-Hartman
parent
9cbde70ced
commit
1491ca0d9a
@@ -181,43 +181,40 @@ static inline unsigned int DAC_DATA_REG(unsigned int channel)
|
||||
|
||||
/* analog input ranges for most boards */
|
||||
static const struct comedi_lrange cb_pcidas_ranges = {
|
||||
8,
|
||||
{
|
||||
BIP_RANGE(10),
|
||||
BIP_RANGE(5),
|
||||
BIP_RANGE(2.5),
|
||||
BIP_RANGE(1.25),
|
||||
UNI_RANGE(10),
|
||||
UNI_RANGE(5),
|
||||
UNI_RANGE(2.5),
|
||||
UNI_RANGE(1.25)
|
||||
}
|
||||
8, {
|
||||
BIP_RANGE(10),
|
||||
BIP_RANGE(5),
|
||||
BIP_RANGE(2.5),
|
||||
BIP_RANGE(1.25),
|
||||
UNI_RANGE(10),
|
||||
UNI_RANGE(5),
|
||||
UNI_RANGE(2.5),
|
||||
UNI_RANGE(1.25)
|
||||
}
|
||||
};
|
||||
|
||||
/* pci-das1001 input ranges */
|
||||
static const struct comedi_lrange cb_pcidas_alt_ranges = {
|
||||
8,
|
||||
{
|
||||
BIP_RANGE(10),
|
||||
BIP_RANGE(1),
|
||||
BIP_RANGE(0.1),
|
||||
BIP_RANGE(0.01),
|
||||
UNI_RANGE(10),
|
||||
UNI_RANGE(1),
|
||||
UNI_RANGE(0.1),
|
||||
UNI_RANGE(0.01)
|
||||
}
|
||||
8, {
|
||||
BIP_RANGE(10),
|
||||
BIP_RANGE(1),
|
||||
BIP_RANGE(0.1),
|
||||
BIP_RANGE(0.01),
|
||||
UNI_RANGE(10),
|
||||
UNI_RANGE(1),
|
||||
UNI_RANGE(0.1),
|
||||
UNI_RANGE(0.01)
|
||||
}
|
||||
};
|
||||
|
||||
/* analog output ranges */
|
||||
static const struct comedi_lrange cb_pcidas_ao_ranges = {
|
||||
4,
|
||||
{
|
||||
BIP_RANGE(5),
|
||||
BIP_RANGE(10),
|
||||
UNI_RANGE(5),
|
||||
UNI_RANGE(10),
|
||||
}
|
||||
4, {
|
||||
BIP_RANGE(5),
|
||||
BIP_RANGE(10),
|
||||
UNI_RANGE(5),
|
||||
UNI_RANGE(10)
|
||||
}
|
||||
};
|
||||
|
||||
enum trimpot_model {
|
||||
|
||||
Reference in New Issue
Block a user