]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: comedi: usbdux: tidy up the comedi_lrange tables
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 24 Jul 2013 21:11:53 +0000 (14:11 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jul 2013 20:15:26 +0000 (13:15 -0700)
Cleanup the whitespace in the tables.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/usbdux.c

index 226b2945cd1fef1eb3782f3ae9092f709344549b..6707950e8bdf2c86216a93dee20f331a83883941 100644 (file)
@@ -185,26 +185,20 @@ sampling rate. If you sample two channels you get 4kHz and so on.
 /* number of retries to get the right dux command */
 #define RETRIES 10
 
-/**************************************************/
-/* comedi constants */
-static const struct comedi_lrange range_usbdux_ai_range = { 4, {
-                                                               BIP_RANGE
-                                                               (4.096),
-                                                               BIP_RANGE(4.096
-                                                                         / 2),
-                                                               UNI_RANGE
-                                                               (4.096),
-                                                               UNI_RANGE(4.096
-                                                                         / 2)
-                                                               }
+static const struct comedi_lrange range_usbdux_ai_range = {
+       4, {
+               BIP_RANGE(4.096),
+               BIP_RANGE(4.096 / 2),
+               UNI_RANGE(4.096),
+               UNI_RANGE(4.096 / 2)
+       }
 };
 
-static const struct comedi_lrange range_usbdux_ao_range = { 2, {
-                                                               BIP_RANGE
-                                                               (4.096),
-                                                               UNI_RANGE
-                                                               (4.096),
-                                                               }
+static const struct comedi_lrange range_usbdux_ao_range = {
+       2, {
+               BIP_RANGE(4.096),
+               UNI_RANGE(4.096)
+       }
 };
 
 struct usbdux_private {