commit | c6908517f23baedaca31dbe738230bda9ffa377a | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Thu Sep 04 12:14:13 2014 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Sep 08 13:55:53 2014 -0700 |
tree | eb70af145273905fc92a8c084116538c7d1a8641 | |
parent | 7cc1110ddaaafe18506fd002632557f0e155a012 [diff] |
staging: comedi: adl_pci9118: tidy up analog output register defines Replace the current defines with a macro that calculates the correct register offset based on the channel. 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>