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

staging: comedi: pcl818: 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 82dc1255
...@@ -188,7 +188,8 @@ A word or two about DMA. Driver support DMA operations at two ways: ...@@ -188,7 +188,8 @@ A word or two about DMA. Driver support DMA operations at two ways:
#define MAGIC_DMA_WORD 0x5a5a #define MAGIC_DMA_WORD 0x5a5a
static const struct comedi_lrange range_pcl818h_ai = { 9, { static const struct comedi_lrange range_pcl818h_ai = {
9, {
BIP_RANGE(5), BIP_RANGE(5),
BIP_RANGE(2.5), BIP_RANGE(2.5),
BIP_RANGE(1.25), BIP_RANGE(1.25),
...@@ -197,11 +198,12 @@ static const struct comedi_lrange range_pcl818h_ai = { 9, { ...@@ -197,11 +198,12 @@ static const struct comedi_lrange range_pcl818h_ai = { 9, {
UNI_RANGE(5), UNI_RANGE(5),
UNI_RANGE(2.5), UNI_RANGE(2.5),
UNI_RANGE(1.25), UNI_RANGE(1.25),
BIP_RANGE(10), BIP_RANGE(10)
} }
}; };
static const struct comedi_lrange range_pcl818hg_ai = { 10, { static const struct comedi_lrange range_pcl818hg_ai = {
10, {
BIP_RANGE(5), BIP_RANGE(5),
BIP_RANGE(0.5), BIP_RANGE(0.5),
BIP_RANGE(0.05), BIP_RANGE(0.05),
...@@ -213,31 +215,51 @@ static const struct comedi_lrange range_pcl818hg_ai = { 10, { ...@@ -213,31 +215,51 @@ static const struct comedi_lrange range_pcl818hg_ai = { 10, {
BIP_RANGE(10), BIP_RANGE(10),
BIP_RANGE(1), BIP_RANGE(1),
BIP_RANGE(0.1), BIP_RANGE(0.1),
BIP_RANGE(0.01), BIP_RANGE(0.01)
} }
}; };
static const struct comedi_lrange range_pcl818l_l_ai = { 4, { static const struct comedi_lrange range_pcl818l_l_ai = {
4, {
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)
} }
}; };
static const struct comedi_lrange range_pcl818l_h_ai = { 4, { static const struct comedi_lrange range_pcl818l_h_ai = {
4, {
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)
}
};
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 = { static const struct comedi_lrange range718_bipolar0_5 = {
1, {BIP_RANGE(0.5),} }; 1, {
static const struct comedi_lrange range718_unipolar2 = { 1, {UNI_RANGE(2),} }; BIP_RANGE(0.5)
static const struct comedi_lrange range718_unipolar1 = { 1, {BIP_RANGE(1),} }; }
};
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 { struct pcl818_board {
......
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