From: H Hartley Sweeten Date: Tue, 26 Mar 2013 21:59:16 +0000 (-0700) Subject: staging: comedi: rtd520: cleanup rtd_dio_insn_config() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~137^2~387 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24ce19384e73e2e5fd1d9f2f5f317722d23e8faf;p=pandora-kernel.git staging: comedi: rtd520: cleanup rtd_dio_insn_config() Add a local variable to make this function a bit cleaner and remove the unnecessary comments. The comedi core expects this function to return the number of data parameters used. Change the return from '1' to 'insn->n' to make this more apparent. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed