commit | 8366404bf1c034d902af06a6a6d88fe77a2cc7fb | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hartleys@visionengravers.com> | Wed Jun 27 15:06:14 2012 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Jul 06 15:40:06 2012 -0700 |
tree | f693058a7ca5dd58ec7ff06a319dc1e65bf0d4c6 | |
parent | 5c67df8b98316fbfede8d4d6bac64d52d4327357 [diff] |
staging: comedi: adl_pci6208: cleanup pci6208_ao_winsn() Use the defines for the register map to make the code a bit clearer. Shorten or rename some of the local variables for the same reason. Only the last value written to the DAC needs to be cached in the ao_readback variable. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>