summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2013-06-05 15:37:06 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-06 12:01:34 -0700
commit3275b4d3db1f087c67fa115b150a9d2f9d8429f9 (patch)
treedb3c036d378abc634c9b02a329585fc32190b366 /tools/perf/scripts/python/sctop.py
parenta0e82af4c5703138b21e417440ffc937b671db1e (diff)
staging: comedi: pcmad: tidy up pcmad_ai_insn_read()
Use a local variable to read and munge the analog input data instead of directly using the 'data' pointer passed to the function. (*insn_read) functions either return an errno or the number of data values read. Change the final return to insn->n to make this clearer. Tidy up the function. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions