diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2013-09-30 17:54:08 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-03 14:04:50 -0700 |
| commit | 8305aac35741009a0946eb1fe536bec11e8e12cb (patch) | |
| tree | a0e120cd90755fb77b97819e9a886ed482819382 /include/linux | |
| parent | a7d3d419f905e5a3203874e4b7a9e45d2167f2b5 (diff) | |
staging: comedi: ni_at_ao: tidy up atao_ao_winsn()
For aesthetics, rename this function to help with greps.
For channel 0, register group 1 only needs to be selected before
writing the values and restored to group 0 when the writes are
finished. Move the code out of the for () loop.
Use the comedi_ffset_munge() helper to handle the offset binary to
two's complement munging.
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 'include/linux')
0 files changed, 0 insertions, 0 deletions
