]> rtime.felk.cvut.cz Git - linux-imx.git/commit
staging: comedi: ni_labpc: tidy up range table declarations
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 22 Mar 2013 16:39:22 +0000 (09:39 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Mar 2013 18:41:12 +0000 (11:41 -0700)
commit1b3e0c80ee2c678e645cf3e18dac9674f2e67496
tree8e9c6d7c5fa8a9aa5d07d642c73e38d18bb15ad7
parent74df5760767333eb7e0fe267e1d460c463ee442c
staging: comedi: ni_labpc: tidy up range table declarations

Tidy up all the tables used to indicate the bipolar/unipolar
type of the range. the gain bits used to set the range, and the
comedi_lrange.

Remove a couple unnecessary #define's used to indicate the size
of the tables as well as some unnecessary comments.

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