staging: comedi: pcl818: tidy up comedi_lrange tables
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 10 Dec 2013 00:31:01 +0000 (17:31 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Dec 2013 18:05:45 +0000 (10:05 -0800)
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>
drivers/staging/comedi/drivers/pcl818.c

index 695e84a..fa1758a 100644 (file)
@@ -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 {