staging: comedi: s626: cleanup request_irq in s626_attach_pci()
authorH Hartley Sweeten <hartleys@visionengravers.com>
Mon, 24 Sep 2012 20:24:12 +0000 (13:24 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Sep 2012 16:37:31 +0000 (09:37 -0700)
commit8c7e4277c1197d31c0b34dbaf23e6edddb5978f7
treefccd38d5a017f1dd9d111a2d13ffdd5983e38db6
parentb7047895b9c9deee0b0f4cb2a0a788c189f985f2
staging: comedi: s626: cleanup request_irq in s626_attach_pci()

Only set dev->irq if request_irq is successfull.

Remove the kernel message noise.

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