From: H Hartley Sweeten Date: Wed, 28 May 2014 23:34:48 +0000 (-0700) Subject: staging: comedi: adq12b: tidy up adq12b_ai_rinsn() X-Git-Tag: omap-for-v3.17/fixes-against-rc2~166^2~1989 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8dc10bf6888b586e284bca3e9f1a9da40590874;p=pandora-kernel.git staging: comedi: adq12b: tidy up adq12b_ai_rinsn() For aesthetics, rename this function. Clean up the local variables by reusing 'val' instead of using separate variables for the: 'status' - use once to trigger the first A/D conversion 'hi' and 'lo' - used to read the A/D conversion result For aesthetics, change the final return to insn->n and remove the comment. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed