staging: comedi: pcl818: 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
82dc1255a7
commit
4cdd4eb2d3
|
@ -188,56 +188,78 @@ A word or two about DMA. Driver support DMA operations at two ways:
|
|||
|
||||
#define MAGIC_DMA_WORD 0x5a5a
|
||||
|
||||
static const struct comedi_lrange range_pcl818h_ai = { 9, {
|
||||
BIP_RANGE(5),
|
||||
BIP_RANGE(2.5),
|
||||
BIP_RANGE(1.25),
|
||||
BIP_RANGE(0.625),
|
||||
UNI_RANGE(10),
|
||||
UNI_RANGE(5),
|
||||
UNI_RANGE(2.5),
|
||||
UNI_RANGE(1.25),
|
||||
BIP_RANGE(10),
|
||||
}
|
||||
static const struct comedi_lrange range_pcl818h_ai = {
|
||||
9, {
|
||||
BIP_RANGE(5),
|
||||
BIP_RANGE(2.5),
|
||||
BIP_RANGE(1.25),
|
||||
BIP_RANGE(0.625),
|
||||
UNI_RANGE(10),
|
||||
UNI_RANGE(5),
|
||||
UNI_RANGE(2.5),
|
||||
UNI_RANGE(1.25),
|
||||
BIP_RANGE(10)
|
||||
}
|
||||
};
|
||||
|
||||
static const struct comedi_lrange range_pcl818hg_ai = { 10, {
|
||||
BIP_RANGE(5),
|
||||
BIP_RANGE(0.5),
|
||||
BIP_RANGE(0.05),
|
||||
BIP_RANGE(0.005),
|
||||
UNI_RANGE(10),
|
||||
UNI_RANGE(1),
|
||||
UNI_RANGE(0.1),
|
||||
UNI_RANGE(0.01),
|
||||
BIP_RANGE(10),
|
||||
BIP_RANGE(1),
|
||||
BIP_RANGE(0.1),
|
||||
BIP_RANGE(0.01),
|
||||
}
|
||||
static const struct comedi_lrange range_pcl818hg_ai = {
|
||||
10, {
|
||||
BIP_RANGE(5),
|
||||
BIP_RANGE(0.5),
|
||||
BIP_RANGE(0.05),
|
||||
BIP_RANGE(0.005),
|
||||
UNI_RANGE(10),
|
||||
UNI_RANGE(1),
|
||||
UNI_RANGE(0.1),
|
||||
UNI_RANGE(0.01),
|
||||
BIP_RANGE(10),
|
||||
BIP_RANGE(1),
|
||||
BIP_RANGE(0.1),
|
||||
BIP_RANGE(0.01)
|
||||
}
|
||||
};
|
||||
|
||||
static const struct comedi_lrange range_pcl818l_l_ai = { 4, {
|
||||
BIP_RANGE(5),
|
||||
BIP_RANGE(2.5),
|
||||
BIP_RANGE(1.25),
|
||||
BIP_RANGE(0.625),
|
||||
}
|
||||
static const struct comedi_lrange range_pcl818l_l_ai = {
|
||||
4, {
|
||||
BIP_RANGE(5),
|
||||
BIP_RANGE(2.5),
|
||||
BIP_RANGE(1.25),
|
||||
BIP_RANGE(0.625)
|
||||
}
|
||||
};
|
||||
|
||||
static const struct comedi_lrange range_pcl818l_h_ai = { 4, {
|
||||
BIP_RANGE(10),
|
||||
BIP_RANGE(5),
|
||||
BIP_RANGE(2.5),
|
||||
BIP_RANGE(1.25),
|
||||
}
|
||||
static const struct comedi_lrange range_pcl818l_h_ai = {
|
||||
4, {
|
||||
BIP_RANGE(10),
|
||||
BIP_RANGE(5),
|
||||
BIP_RANGE(2.5),
|
||||
BIP_RANGE(1.25)
|
||||
}
|
||||
};
|
||||
|
||||
static const struct comedi_lrange range718_bipolar1 = {
|
||||
1, {
|
||||
BIP_RANGE(1)
|
||||
}
|
||||
};
|
||||
|
||||
static const struct comedi_lrange range718_bipolar1 = { 1, {BIP_RANGE(1),} };
|
||||
static const struct comedi_lrange range718_bipolar0_5 = {
|
||||
1, {BIP_RANGE(0.5),} };
|
||||
static const struct comedi_lrange range718_unipolar2 = { 1, {UNI_RANGE(2),} };
|
||||
static const struct comedi_lrange range718_unipolar1 = { 1, {BIP_RANGE(1),} };
|
||||
1, {
|
||||
BIP_RANGE(0.5)
|
||||
}
|
||||
};
|
||||
|
||||
static const struct comedi_lrange range718_unipolar2 = {
|
||||
1, {
|
||||
UNI_RANGE(2)
|
||||
}
|
||||
};
|
||||
|
||||
static const struct comedi_lrange range718_unipolar1 = {
|
||||
1, {
|
||||
BIP_RANGE(1)
|
||||
}
|
||||
};
|
||||
|
||||
struct pcl818_board {
|
||||
|
||||
|
|
Loading…
Reference in New Issue