diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2013-04-03 11:37:46 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-04-03 13:54:03 -0700 |
| commit | efa5b32658995f434d880f28b76d9d5d762a749b (patch) | |
| tree | a73129cec2effb690ef7fc8d54549398ff0b3fdb /tools/perf/scripts/python | |
| parent | 4460838376b121e937c1b984f6c5ba2caf269c8f (diff) | |
staging: comedi: rtd520: cleanup rtd_dio_insn_config()
Add a local variable to make this function a bit cleaner and
remove the unnecessary comments.
The comedi core expects this function to return the number of
data parameters used. Change the return from '1' to 'insn->n'
to make this more apparent.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
