Commit 168a2103 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: ni_at_a2150: tidy up comedi_lrange tables

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: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c7b51165
...@@ -124,10 +124,9 @@ struct a2150_board { ...@@ -124,10 +124,9 @@ struct a2150_board {
/* analog input range */ /* analog input range */
static const struct comedi_lrange range_a2150 = { static const struct comedi_lrange range_a2150 = {
1, 1, {
{ BIP_RANGE(2.828)
RANGE(-2.828, 2.828), }
}
}; };
/* enum must match board indices */ /* enum must match board indices */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment