]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: comedi: ni_atmio: remove NI_SIZE define
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 20 Jun 2014 18:10:25 +0000 (11:10 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 29 Jun 2014 21:17:58 +0000 (14:17 -0700)
commit551d793943c39bc8e9d548ac454cd0df32688211
treec662765e12f12454919b8377aec6ec1abf4a019b
parent050e2d3a3b9147d43a6acf4ef99f0028d117b701
staging: comedi: ni_atmio: remove NI_SIZE define

This define is only used in the comedi_request_region() to specify the
size of the region. Remove the define and just open code the value.

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