From: H Hartley Sweeten Date: Wed, 12 Jun 2013 23:16:47 +0000 (-0700) Subject: staging: comedi: addi_apci_3xxx: tidy up i_APCI3XXX_InsnReadAnalogInput() X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~76^2~126 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=088e2e053d285553cb988ca50177d266d5494243;p=pandora-kernel.git 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 Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed