From: H Hartley Sweeten Date: Tue, 26 Mar 2013 22:43:15 +0000 (-0700) Subject: staging: comedi: s626: cleanup s626_dio_insn_config() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~137^2~397 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e920fad281e9d5168f8d10a5ced11c719b05233a;p=pandora-kernel.git staging: comedi: s626: cleanup s626_dio_insn_config() Add some local variables to make this function a bit cleaner. 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 aparent. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed