staging: comedi: das16: tidy up the comedi_lrange tables

Cleanup the whitespace in the 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-07-29 13:55:20 -07:00 коммит произвёл Greg Kroah-Hartman
Родитель 6d06385193
Коммит 6d33b860cd
1 изменённых файлов: 51 добавлений и 46 удалений

Просмотреть файл

@ -238,62 +238,67 @@ static const int sample_size = 2;
#define DAS1600_WS 0x02 #define DAS1600_WS 0x02
#define DAS1600_CLK_10MHZ 0x01 #define DAS1600_CLK_10MHZ 0x01
static const struct comedi_lrange range_das1x01_bip = { 4, { static const struct comedi_lrange range_das1x01_bip = {
BIP_RANGE(10), 4, {
BIP_RANGE(1), BIP_RANGE(10),
BIP_RANGE(0.1), BIP_RANGE(1),
BIP_RANGE(0.01), BIP_RANGE(0.1),
} BIP_RANGE(0.01)
}
}; };
static const struct comedi_lrange range_das1x01_unip = { 4, { static const struct comedi_lrange range_das1x01_unip = {
UNI_RANGE(10), 4, {
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 struct comedi_lrange range_das1x02_bip = { 4, { static const struct comedi_lrange range_das1x02_bip = {
BIP_RANGE(10), 4, {
BIP_RANGE(5), BIP_RANGE(10),
BIP_RANGE(2.5), BIP_RANGE(5),
BIP_RANGE(1.25), BIP_RANGE(2.5),
} BIP_RANGE(1.25)
}
}; };
static const struct comedi_lrange range_das1x02_unip = { 4, { static const struct comedi_lrange range_das1x02_unip = {
UNI_RANGE(10), 4, {
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 struct comedi_lrange range_das16jr = { 9, { static const struct comedi_lrange range_das16jr = {
/* also used by 16/330 */ 9, {
BIP_RANGE(10), BIP_RANGE(10),
BIP_RANGE(5), BIP_RANGE(5),
BIP_RANGE(2.5), BIP_RANGE(2.5),
BIP_RANGE(1.25), BIP_RANGE(1.25),
BIP_RANGE(0.625), BIP_RANGE(0.625),
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)
} }
}; };
static const struct comedi_lrange range_das16jr_16 = { 8, { static const struct comedi_lrange range_das16jr_16 = {
BIP_RANGE(10), 8, {
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(1.25), UNI_RANGE(2.5),
} UNI_RANGE(1.25)
}
}; };
static const int das16jr_gainlist[] = { 8, 0, 1, 2, 3, 4, 5, 6, 7 }; static const int das16jr_gainlist[] = { 8, 0, 1, 2, 3, 4, 5, 6, 7 };