staging: comedi: pcmuio: refactor interrupt_pcmuio()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 4 Jun 2013 01:01:37 +0000 (18:01 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Jun 2013 22:33:32 +0000 (15:33 -0700)
commit3b48c535802eb515069b4f2ff26f0601eabf51b8
treeb3468b82fe83052f3fbd9117df0f9ef03314e5c3
parent8099a9841f1d9ff15de8f12cf1ba36b574d804c8
staging: comedi: pcmuio: refactor interrupt_pcmuio()

Refactor this function into two new functions in order to reduce the indent
levels and clean up the ugly line breaks that, unsuccessfully, try to keep
the lines < 80 chars.

The first function handles the irq for a specific asic.

The second function handles the irq for a specific subdevice that is
associated with the asic.

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