OSDN Git Service

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

index 22c1623..9819be0 100644 (file)
@@ -181,43 +181,40 @@ static inline unsigned int DAC_DATA_REG(unsigned int channel)
 
 /* analog input ranges for most boards */
 static const struct comedi_lrange cb_pcidas_ranges = {
-       8,
-       {
-        BIP_RANGE(10),
-        BIP_RANGE(5),
-        BIP_RANGE(2.5),
-        BIP_RANGE(1.25),
-        UNI_RANGE(10),
-        UNI_RANGE(5),
-        UNI_RANGE(2.5),
-        UNI_RANGE(1.25)
-        }
+       8, {
+               BIP_RANGE(10),
+               BIP_RANGE(5),
+               BIP_RANGE(2.5),
+               BIP_RANGE(1.25),
+               UNI_RANGE(10),
+               UNI_RANGE(5),
+               UNI_RANGE(2.5),
+               UNI_RANGE(1.25)
+       }
 };
 
 /* pci-das1001 input ranges */
 static const struct comedi_lrange cb_pcidas_alt_ranges = {
-       8,
-       {
-        BIP_RANGE(10),
-        BIP_RANGE(1),
-        BIP_RANGE(0.1),
-        BIP_RANGE(0.01),
-        UNI_RANGE(10),
-        UNI_RANGE(1),
-        UNI_RANGE(0.1),
-        UNI_RANGE(0.01)
-        }
+       8, {
+               BIP_RANGE(10),
+               BIP_RANGE(1),
+               BIP_RANGE(0.1),
+               BIP_RANGE(0.01),
+               UNI_RANGE(10),
+               UNI_RANGE(1),
+               UNI_RANGE(0.1),
+               UNI_RANGE(0.01)
+       }
 };
 
 /* analog output ranges */
 static const struct comedi_lrange cb_pcidas_ao_ranges = {
-       4,
-       {
-        BIP_RANGE(5),
-        BIP_RANGE(10),
-        UNI_RANGE(5),
-        UNI_RANGE(10),
-        }
+       4, {
+               BIP_RANGE(5),
+               BIP_RANGE(10),
+               UNI_RANGE(5),
+               UNI_RANGE(10)
+       }
 };
 
 enum trimpot_model {