]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: me_daq: tidy up counter registers
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 7 Oct 2015 00:23:42 +0000 (17:23 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Oct 2015 05:56:26 +0000 (22:56 -0700)
commit450a84e8cf689912cc33d18f5aba38da9312d2b9
tree0a3335c70da34adc980ba14da2062a5a983a41d0
parentfdfc0a0dc5aefa49cfcb853729fe505c9c27d2bc
staging: comedi: me_daq: tidy up counter registers

For aesthetics, convert the counter registers into macros that take
the counter channel and return the correct register offset.

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/me_daq.c