diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2013-12-09 19:31:15 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-17 13:05:46 -0500 |
commit | 1c6d126061734bbb4542499fedd9a7038617786d (patch) | |
tree | 3623565ed1634336efd0b0ee9367557ee65f4edf | |
parent | 45ddfc5a51f0ea179bcb82a4170c33ceed46c4b2 (diff) |
staging: comedi: adq12b: 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>
-rw-r--r-- | drivers/staging/comedi/drivers/adq12b.c | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/drivers/staging/comedi/drivers/adq12b.c b/drivers/staging/comedi/drivers/adq12b.c index 79e06b9b6bc9..3190ef7d285e 100644 --- a/drivers/staging/comedi/drivers/adq12b.c +++ b/drivers/staging/comedi/drivers/adq12b.c | |||
@@ -97,21 +97,22 @@ If you do not specify any options, they will default to | |||
97 | #define TIMEOUT 20 | 97 | #define TIMEOUT 20 |
98 | 98 | ||
99 | /* available ranges through the PGA gains */ | 99 | /* available ranges through the PGA gains */ |
100 | static const struct comedi_lrange range_adq12b_ai_bipolar = { 4, { | 100 | static const struct comedi_lrange range_adq12b_ai_bipolar = { |
101 | BIP_RANGE(5), | 101 | 4, { |
102 | BIP_RANGE(2), | 102 | BIP_RANGE(5), |
103 | BIP_RANGE(1), | 103 | BIP_RANGE(2), |
104 | BIP_RANGE(0.5) | 104 | BIP_RANGE(1), |
105 | } | 105 | BIP_RANGE(0.5) |
106 | } | ||
106 | }; | 107 | }; |
107 | 108 | ||
108 | static const struct comedi_lrange range_adq12b_ai_unipolar = { 4, { | 109 | static const struct comedi_lrange range_adq12b_ai_unipolar = { |
109 | UNI_RANGE(5), | 110 | 4, { |
110 | UNI_RANGE(2), | 111 | UNI_RANGE(5), |
111 | UNI_RANGE(1), | 112 | UNI_RANGE(2), |
112 | UNI_RANGE | 113 | UNI_RANGE(1), |
113 | (0.5) | 114 | UNI_RANGE(0.5) |
114 | } | 115 | } |
115 | }; | 116 | }; |
116 | 117 | ||
117 | struct adq12b_private { | 118 | struct adq12b_private { |