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

staging: comedi: adv_pci1710: 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 4cdd4eb2
...@@ -115,65 +115,70 @@ Configuration options: ...@@ -115,65 +115,70 @@ Configuration options:
/* D/A synchronized control (PCI1720_SYNCONT) */ /* D/A synchronized control (PCI1720_SYNCONT) */
#define Syncont_SC0 1 /* set synchronous output mode */ #define Syncont_SC0 1 /* set synchronous output mode */
static const struct comedi_lrange range_pci1710_3 = { 9, { static const struct comedi_lrange range_pci1710_3 = {
BIP_RANGE(5), 9, {
BIP_RANGE(2.5), BIP_RANGE(5),
BIP_RANGE(1.25), BIP_RANGE(2.5),
BIP_RANGE(0.625), BIP_RANGE(1.25),
BIP_RANGE(10), BIP_RANGE(0.625),
UNI_RANGE(10), BIP_RANGE(10),
UNI_RANGE(5), UNI_RANGE(10),
UNI_RANGE(2.5), UNI_RANGE(5),
UNI_RANGE(1.25) UNI_RANGE(2.5),
} UNI_RANGE(1.25)
}
}; };
static const char range_codes_pci1710_3[] = { 0x00, 0x01, 0x02, 0x03, 0x04, static const char range_codes_pci1710_3[] = { 0x00, 0x01, 0x02, 0x03, 0x04,
0x10, 0x11, 0x12, 0x13 }; 0x10, 0x11, 0x12, 0x13 };
static const struct comedi_lrange range_pci1710hg = { 12, { static const struct comedi_lrange range_pci1710hg = {
BIP_RANGE(5), 12, {
BIP_RANGE(0.5), BIP_RANGE(5),
BIP_RANGE(0.05), BIP_RANGE(0.5),
BIP_RANGE(0.005), BIP_RANGE(0.05),
BIP_RANGE(10), BIP_RANGE(0.005),
BIP_RANGE(1), BIP_RANGE(10),
BIP_RANGE(0.1), BIP_RANGE(1),
BIP_RANGE(0.01), BIP_RANGE(0.1),
UNI_RANGE(10), BIP_RANGE(0.01),
UNI_RANGE(1), UNI_RANGE(10),
UNI_RANGE(0.1), UNI_RANGE(1),
UNI_RANGE(0.01) UNI_RANGE(0.1),
} UNI_RANGE(0.01)
}
}; };
static const char range_codes_pci1710hg[] = { 0x00, 0x01, 0x02, 0x03, 0x04, static const char range_codes_pci1710hg[] = { 0x00, 0x01, 0x02, 0x03, 0x04,
0x05, 0x06, 0x07, 0x10, 0x11, 0x05, 0x06, 0x07, 0x10, 0x11,
0x12, 0x13 }; 0x12, 0x13 };
static const struct comedi_lrange range_pci17x1 = { 5, { static const struct comedi_lrange range_pci17x1 = {
BIP_RANGE(10), 5, {
BIP_RANGE(5), BIP_RANGE(10),
BIP_RANGE(2.5), BIP_RANGE(5),
BIP_RANGE(1.25), BIP_RANGE(2.5),
BIP_RANGE(0.625) BIP_RANGE(1.25),
} BIP_RANGE(0.625)
}
}; };
static const char range_codes_pci17x1[] = { 0x00, 0x01, 0x02, 0x03, 0x04 }; static const char range_codes_pci17x1[] = { 0x00, 0x01, 0x02, 0x03, 0x04 };
static const struct comedi_lrange range_pci1720 = { 4, { static const struct comedi_lrange range_pci1720 = {
UNI_RANGE(5), 4, {
UNI_RANGE(10), UNI_RANGE(5),
BIP_RANGE(5), UNI_RANGE(10),
BIP_RANGE(10) BIP_RANGE(5),
} BIP_RANGE(10)
}
}; };
static const struct comedi_lrange range_pci171x_da = { 2, { static const struct comedi_lrange range_pci171x_da = {
UNI_RANGE(5), 2, {
UNI_RANGE(10), UNI_RANGE(5),
} UNI_RANGE(10)
}
}; };
enum pci1710_boardid { enum pci1710_boardid {
......
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