diff options
| author | H Hartley Sweeten <[email protected]> | 2015-01-21 17:22:14 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2015-01-25 19:59:14 +0800 |
| commit | a4a75b21014bfb4ab977e461e17d2c759472f84b (patch) | |
| tree | 13bad7ca90ad006e97260233b8c5605359e923a8 /tools/perf/scripts/python | |
| parent | 8518a52c4456c697033bf81f0df73c026200ad8e (diff) | |
staging: comedi: vmk80xx: tidy up vmk80xx_cnt_insn_config()
Tidy up this (*insn_config) function to follow the normal format in
comedi drivers.
INSN_CONFIG_RESET instructions do not have any extra parameters (insn->n is
always 1) so the for loop used to write the packet doesn't make any sense.
Remove it and just write the single packet.
Signed-off-by: H Hartley Sweeten <[email protected]>
Reviewed-by: Ian Abbott <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions