summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2013-06-03 19:04:45 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-05 15:35:38 -0700
commitcac10bf92a0678bbc0c336e058f89a4a6e95aa96 (patch)
treeef9ccfaaa72eb43acf21b458ea165f38b099bb2f /tools/perf/scripts/python
parentb11c5d3ccc7361dc552f689f08b38599fea5a513 (diff)
staging: comedi: pcmda12: cleanup pcmda12_ao_insn_read()
Remove the boilerplate comment from the 'skel' driver. To initiate the simultaneaous transfer, only one analog output register needs to be read. Move the read out of the for() loop. (*insn_read) functions should return an errno or the number of samples actually read. Change the final return to insn->n to make this clear. 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')
0 files changed, 0 insertions, 0 deletions