From: H Hartley Sweeten Date: Wed, 27 Jun 2012 01:10:59 +0000 (-0700) Subject: staging: comedi: cb_pcidas: cleanup cb_pcidas_ao_nofifo_winsn() X-Git-Tag: v3.6-rc1~100^2~478 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7671896c4f7f66116798d7314a03995eddac4134;p=pandora-kernel.git staging: comedi: cb_pcidas: cleanup cb_pcidas_ao_nofifo_winsn() Create local variables for the channel and range in order to cleanup to mask/set of the ao_control_bits. Remove the extra space in all the comments. Return the number of data parameters used (insn->n) to indicate success instead of the open coded '1'. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed