]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: das16: tidy up das16_ai_insn_read()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 29 Jul 2013 21:02:22 +0000 (14:02 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Aug 2013 00:37:54 +0000 (17:37 -0700)
commit73ef2b5387ff95ac24487934250e9749e8aaa217
tree2f4f4235900e0f3c4d57626ea7237e9afbe2122b
parentb53ceaf71af836bfc209b68f5d6c7c93895c7329
staging: comedi: das16: tidy up das16_ai_insn_read()

Factor out the loop that waits for the ai conversion to complete.

Tidy up the function a bit.

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>
drivers/staging/comedi/drivers/das16.c