]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: ni_mio_cs: use pcmcia_request_irq()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 6 Feb 2013 01:16:53 +0000 (18:16 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Feb 2013 02:16:19 +0000 (18:16 -0800)
commit82e9ee616a89f152f42c7051c5f9f5f0d7663652
tree03c198648e6dcfa0c9f91464579e03c059de23c6
parent5cd8e852629fc7f1bdaacbdd32fe4139b9944f8b
staging: comedi: ni_mio_cs: use pcmcia_request_irq()

Use pcmcia_request_irq() instead of request_irq() to request the
shared 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/ni_mio_cs.c