]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: quatech_daqp_cs: simplify IRQ_NONE checks in daqp_interrupt()
authorH Hartley Sweeten <hartleys@visionengravers.com>
Fri, 25 Jan 2013 22:00:48 +0000 (15:00 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Jan 2013 04:06:40 +0000 (23:06 -0500)
commit038267f502d424754ed1b063f83690480d5253a3
tree6053bf9c261a9379860bf53c8f8fa6cf3fdca124
parent94b6b470bf14c2cd059b2ce9dcb7ad6191d4d010
staging: comedi: quatech_daqp_cs: simplify IRQ_NONE checks in daqp_interrupt()

Remove all the pr_warn() noise in the sanity checks that make sure
the interrupt is for this device.

Simplify the sanity checks into one if() condition.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/quatech_daqp_cs.c