commit | 24ce19384e73e2e5fd1d9f2f5f317722d23e8faf | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Tue Mar 26 14:59:16 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Mar 28 16:16:21 2013 -0700 |
tree | b0291fdefd3b2c7b6aa0bcc54e55eba9c783d487 | |
parent | 45b6937ac647f18913f6d1fb07601b97f78647c5 [diff] |
staging: comedi: rtd520: cleanup rtd_dio_insn_config() Add a local variable to make this function a bit cleaner and remove the unnecessary comments. 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 apparent. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>