commit | b78332daf47b624bef6220f1acf64ee49d38c1ad | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hartleys@visionengravers.com> | Tue Jun 26 18:10:22 2012 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Jul 06 15:23:55 2012 -0700 |
tree | 7153846d0e8bd770826d8c8567c8929ab84598cf | |
parent | d478b5f6f4d48a130533efb8da98b5526772f219 [diff] |
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>