staging: comedi: ni_atmio16d: tidy up comedi_lrange tables
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 10 Dec 2013 00:31:06 +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/ni_atmio16d.c

index 3a92fe52b9ac690b5e95de1d91e5c3d755bd0b17..e8cd5ddb85c5abba086dc81fa8721df755eeb2b0 100644 (file)
@@ -105,40 +105,31 @@ struct atmio16_board_t {
 };
 
 /* range structs */
-static const struct comedi_lrange range_atmio16d_ai_10_bipolar = { 4, {
-                                                                      BIP_RANGE
-                                                                      (10),
-                                                                      BIP_RANGE
-                                                                      (1),
-                                                                      BIP_RANGE
-                                                                      (0.1),
-                                                                      BIP_RANGE
-                                                                      (0.02)
-                                                                      }
+static const struct comedi_lrange range_atmio16d_ai_10_bipolar = {
+       4, {
+               BIP_RANGE(10),
+               BIP_RANGE(1),
+               BIP_RANGE(0.1),
+               BIP_RANGE(0.02)
+       }
 };
 
-static const struct comedi_lrange range_atmio16d_ai_5_bipolar = { 4, {
-                                                                     BIP_RANGE
-                                                                     (5),
-                                                                     BIP_RANGE
-                                                                     (0.5),
-                                                                     BIP_RANGE
-                                                                     (0.05),
-                                                                     BIP_RANGE
-                                                                     (0.01)
-                                                                     }
+static const struct comedi_lrange range_atmio16d_ai_5_bipolar = {
+       4, {
+               BIP_RANGE(5),
+               BIP_RANGE(0.5),
+               BIP_RANGE(0.05),
+               BIP_RANGE(0.01)
+       }
 };
 
-static const struct comedi_lrange range_atmio16d_ai_unipolar = { 4, {
-                                                                    UNI_RANGE
-                                                                    (10),
-                                                                    UNI_RANGE
-                                                                    (1),
-                                                                    UNI_RANGE
-                                                                    (0.1),
-                                                                    UNI_RANGE
-                                                                    (0.02)
-                                                                    }
+static const struct comedi_lrange range_atmio16d_ai_unipolar = {
+       4, {
+               UNI_RANGE(10),
+               UNI_RANGE(1),
+               UNI_RANGE(0.1),
+               UNI_RANGE(0.02)
+       }
 };
 
 /* private data struct */