summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2013-06-13 03:14:25 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-18 01:33:42 +0400
commitf73abd3334ed64056ef2cca818610a082248dab3 (patch)
tree8342517f808189d5d4ee03db37b04f73b1f04f25 /tools/perf/scripts/python
parent383390cfd4aefad6e00d4738233aa89901211fdd (diff)
downloadlinux-f73abd3334ed64056ef2cca818610a082248dab3.tar.xz
staging: comedi: addi_apci_3xxx: refactor i_APCI3XXX_InsnWriteAnalogOutput()
Rename the CamelCase local variables. The comedi core validates the insn->chanspec to make sure the channel number and range are valid for the subdevice. The extra checks in this function are not required. (*insn_write) functions are supposed to write all the data passed in the data pointer (insn->n values) then return the number of data values written of an errno. Fix this function to work like the core expects. 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