staging: comedi: amplc_pci224: 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:
H Hartley Sweeten 2013-12-09 17:31:11 -07:00 committed by Greg Kroah-Hartman
parent 713d551274
commit 2cdbefe627

View file

@ -267,8 +267,7 @@ Caveats:
/* 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),
@ -276,7 +275,7 @@ static const struct comedi_lrange range_pci224_internal = {
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)
} }
}; };
@ -293,10 +292,9 @@ 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] */
} }
}; };
@ -308,18 +306,16 @@ 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),
} }
}; };