From: H Hartley Sweeten Date: Wed, 27 Jun 2012 01:10:22 +0000 (-0700) Subject: staging: comedi: cb_pcidas: cleanup cb_pcidas_ao_fifo_winsn() X-Git-Tag: v3.6-rc1~100^2~479 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b78332daf47b624bef6220f1acf64ee49d38c1ad;p=pandora-kernel.git staging: comedi: cb_pcidas: cleanup cb_pcidas_ao_fifo_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