From: H Hartley Sweeten Date: Tue, 11 Nov 2014 23:55:20 +0000 (-0700) Subject: staging: comedi: dmm32at: tidy up dmm32at_ai_rinsn() X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~149 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01b7ecdd9529fd5722b9b18424f510cc34cc8e85;p=pandora-kernel.git staging: comedi: dmm32at: tidy up dmm32at_ai_rinsn() For aesthetics, rename this function to dmm32at_ai_insn_read(). Get the 'chan' and 'range' from the chanspec when declaring the local variables. Remove the unecessary masking of the 'chan'. Remove some unnecessary comments. Change the final return to 'insn->n' to clarify the return value. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed