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)
commit90967d66269f20f24e8465121dadb99e51ad1f64
tree6053bf9c261a9379860bf53c8f8fa6cf3fdca124
parentb8319710de2d3f14e11c2d951d238797e2aa489d
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