]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: adl_pci9111: factor fifo handling out of pci9111_interrupt()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 27 May 2014 17:31:14 +0000 (10:31 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 May 2014 21:28:56 +0000 (14:28 -0700)
commit060e3d9792fc4eb319a8556e7b3d98b59be87994
tree9eb0468fb01a53e3925c14d78f57123326d0f379
parentbe484a3570078f1faf75a0cb18e6f23b64cacdc6
staging: comedi: adl_pci9111: factor fifo handling out of pci9111_interrupt()

Factor the fifo half-full handling out of the interrupt function to reduce
the indent level of the code.

Tidy up the factored out code.

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/adl_pci9111.c