]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: cb_das16_cs: use the BIP_RANGE helper macro
authorH Hartley Sweeten <hartleys@visionengravers.com>
Tue, 26 Jun 2012 00:22:18 +0000 (17:22 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Jun 2012 22:35:23 +0000 (15:35 -0700)
commit443bbedbbef9df3884a93d1200fd087a966aa9c6
tree51918f1380869006711ce3e7aca6d7d060dee52f
parent857670c3e49cf915547652591fce77f3873614e7
staging: comedi: cb_das16_cs: use the BIP_RANGE helper macro

The BIP_RANGE(a) macro can be used instead of the RANGE(a,b)
macro when -a == b. And it's a bit clearer that this is a bipolar
range.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/cb_das16_cs.c