diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2014-11-11 16:55:20 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-26 15:33:23 -0800 |
| commit | 01b7ecdd9529fd5722b9b18424f510cc34cc8e85 (patch) | |
| tree | 7d0d4072cd987276307dc51e6fdc997946cda073 /tools/perf/scripts/python/bin | |
| parent | 0c0eadadcbe6ed9596568696f9c5b157707a7c8f (diff) | |
staging: comedi: dmm32at: tidy up dmm32at_ai_rinsn()
For aesthetics, rename this function to dmm32at_ai_insn_read().
Get the 'chan' and 'range' from the chanspec when declaring the local
variables. Remove the unecessary masking of the 'chan'.
Remove some unnecessary comments.
Change the final return to 'insn->n' to clarify the return value.
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 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
