staging: comedi: cb_pcidas: cleanup cb_pcidas_ao_fifo_winsn()
authorH Hartley Sweeten <hartleys@visionengravers.com>
Wed, 27 Jun 2012 01:10:22 +0000 (18:10 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Jul 2012 22:23:55 +0000 (15:23 -0700)
commitb78332daf47b624bef6220f1acf64ee49d38c1ad
tree7153846d0e8bd770826d8c8567c8929ab84598cf
parentd478b5f6f4d48a130533efb8da98b5526772f219
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 <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/cb_pcidas.c