]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
staging: comedi: amplc_pci230: tidy up comedi_lrange tables
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 10 Dec 2013 00:31:13 +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/amplc_pci230.c

index 48a0f527b4313e2a8ec8c0f0474a702d3f178254..c08dfbbe406227bff97cd82079b475681ef6297a 100644 (file)
@@ -546,15 +546,16 @@ static const unsigned int pci230_timebase[8] = {
 };
 
 /* PCI230 analogue input range table */
-static const struct comedi_lrange pci230_ai_range = { 7, {
-                                                         BIP_RANGE(10),
-                                                         BIP_RANGE(5),
-                                                         BIP_RANGE(2.5),
-                                                         BIP_RANGE(1.25),
-                                                         UNI_RANGE(10),
-                                                         UNI_RANGE(5),
-                                                         UNI_RANGE(2.5)
-                                                         }
+static const struct comedi_lrange pci230_ai_range = {
+       7, {
+               BIP_RANGE(10),
+               BIP_RANGE(5),
+               BIP_RANGE(2.5),
+               BIP_RANGE(1.25),
+               UNI_RANGE(10),
+               UNI_RANGE(5),
+               UNI_RANGE(2.5)
+       }
 };
 
 /* PCI230 analogue gain bits for each input range. */
@@ -564,10 +565,11 @@ static const unsigned char pci230_ai_gain[7] = { 0, 1, 2, 3, 1, 2, 3 };
 static const unsigned char pci230_ai_bipolar[7] = { 1, 1, 1, 1, 0, 0, 0 };
 
 /* PCI230 analogue output range table */
-static const struct comedi_lrange pci230_ao_range = { 2, {
-                                                         UNI_RANGE(10),
-                                                         BIP_RANGE(10)
-                                                         }
+static const struct comedi_lrange pci230_ao_range = {
+       2, {
+               UNI_RANGE(10),
+               BIP_RANGE(10)
+       }
 };
 
 /* PCI230 daccon bipolar flag for each analogue output range. */