staging: comedi: ni_at_a2150: tidy up comedi_lrange tables
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 10 Dec 2013 00:31:24 +0000 (17:31 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Dec 2013 18:05:47 +0000 (10:05 -0800)
Tidy up the whitespace in the comedi_lrange tables.

Use the BIP_RANGE macro instead of the more generic RANGE macro to
reduce the potential for typos.

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_at_a2150.c

index 0c71fdfecac209824c39473e3b12eeedddf1aa98..f83eb9ebe278505bf2912611299b608c3a593a48 100644 (file)
@@ -124,10 +124,9 @@ struct a2150_board {
 
 /* analog input range */
 static const struct comedi_lrange range_a2150 = {
-       1,
-       {
-        RANGE(-2.828, 2.828),
-        }
+       1, {
+               BIP_RANGE(2.828)
+       }
 };
 
 /* enum must match board indices */