diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2013-09-20 16:38:09 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-09-25 15:59:58 -0700 |
| commit | 871b43cec94066cfbb457daa5f824de1f12330c0 (patch) | |
| tree | f066bfe8303ef43b3ca71b76b1ae93edb2be9a20 /scripts | |
| parent | 8509e6d8ec091c394cfeeae5dc1eaeaec640463c (diff) | |
staging: comedi: pcl711: tidy up pcl711_ao_insn()
For aesthetics, rename this function to help with greps.
Introduce a helper function to write the values to the analog
output channel registers. Modify the defines for the D/A registers
to avoid the ? : tests based on the chan number.
Only the final value written needs to be saved for read back.
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
