Tidy up the whitespace in the comedi_lrange tables.

Signed-off-by: H Hartley Sweeten <hswee...@visionengravers.com>
Cc: Ian Abbott <abbo...@mev.co.uk>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
---
 drivers/staging/comedi/drivers/pcl818.c | 104 +++++++++++++++++++-------------
 1 file changed, 63 insertions(+), 41 deletions(-)

diff --git a/drivers/staging/comedi/drivers/pcl818.c 
b/drivers/staging/comedi/drivers/pcl818.c
index 695e84a..fa1758a 100644
--- a/drivers/staging/comedi/drivers/pcl818.c
+++ b/drivers/staging/comedi/drivers/pcl818.c
@@ -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 {
 
-- 
1.8.4.4

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to