]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: amplc_dio200: refactor dio200_handle_read_intr()
authorIan Abbott <abbotti@mev.co.uk>
Mon, 18 Mar 2013 17:19:08 +0000 (17:19 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Mar 2013 18:30:06 +0000 (11:30 -0700)
commit8d688377867410428b21789e815f28a4631ee8f5
tree303a76ece70ca6188a7f7b4ee2408fa200d916e4
parent5afb56cda90c100e6f9d62747d1b8cf94d0936a4
staging: comedi: amplc_dio200: refactor dio200_handle_read_intr()

Refactor `dio200_handle_read_intr()` to fix checkpatch warning about too
many leading tabs.  Factor out the part that puts the scan data into the
asynchronous command data buffer and checks for end of acquisition into
new function `dio200_read_scan_intr()`.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/amplc_dio200.c