commit | d0e50e6588e236c17f494b3055be986344692af9 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Tue May 03 12:30:00 2016 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Jun 17 20:42:21 2016 -0700 |
tree | 4a7130a419244bc820286eb5e4a42e6dbfe9bbbc | |
parent | b31cf3126474e71192282c97ae88a6f60b17bea0 [diff] |
staging: comedi: das16m1: minor cleanup to das16m1_ai_insn_read() The (*insn_read) functions return the number of data values read. The 'n' value is correct but for clarity change the return to 'insn->n'. For aesthetics, change the 'n' loop variable name to 'i'. That's more common in comedi drivers. 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>