]> 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)
commit960c693135cf85a0066d6aabde7da9aa693b12fd
tree9eb0468fb01a53e3925c14d78f57123326d0f379
parent0a55fcd95f95029e6f08f07b0ef182caa8892712
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