staging: comedi: cb_das16_cs: use pcmcia_request_irq()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 4 Feb 2013 21:20:29 +0000 (14:20 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Feb 2013 22:47:19 +0000 (14:47 -0800)
commitbcd22e8ecee9f48f8668418cef5d523f219f7d1a
tree62aab2944eea9bcf419276428b83b38701b0948c
parent9e29ce104a83d801c7fc6bc57c189608195e831e
staging: comedi: cb_das16_cs: use pcmcia_request_irq()

Use pcmcia_request_irq() instead of request_irq() to request the
irq for the PCMCIA device. This allows the PCMCIA core to clean
up the registration in pcmcia_disable_device().

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