summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2013-06-13 03:16:47 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-18 01:33:43 +0400
commit088e2e053d285553cb988ca50177d266d5494243 (patch)
tree1e5a3f2edd4d4a97654b07adcb4740203a1d5eae /tools/perf/scripts/python
parentf4e694d54e2b9784841602216193534d0710997c (diff)
downloadlinux-088e2e053d285553cb988ca50177d266d5494243.tar.xz
staging: comedi: addi_apci_3xxx: tidy up i_APCI3XXX_InsnReadAnalogInput()
The analog input subdevice in this driver is broken. It abuses the comedi API and will not work as-is. Start cleaning it up so it can be fixed. Rename the CamelCase function and the local variables. Refactor the function to remove the indents. Most of the indents are left over from the previous patches. Invert the early tests to provide a quick exit from the function. 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