commit | 78c1652c7eeac2dff6961678e60c3d792cbe83b5 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Thu Sep 24 17:52:07 2015 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Sep 29 03:32:22 2015 +0200 |
tree | a96e86bbcf33ba2875cec248941d825d61ca12bd | |
parent | 4ddf02bfd89e43dec940fa3f10c309f69888eda2 [diff] |
staging: comedi: rtd520: convert DAC register defines to macros For aesthetics, convert the defines for the various DAC registers into macros that take the comedi channel and return the correct 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>