pcmcia: fix 'driver ... did not release config properly' warning
authorPatrick McHardy <kaber@trash.net>
Tue, 20 Jul 2010 22:21:42 +0000 (15:21 -0700)
committerDominik Brodowski <linux@dominikbrodowski.net>
Wed, 21 Jul 2010 11:52:36 +0000 (13:52 +0200)
commit418c527873049a9b866aa02948931d7baad7094a
treecffd9ab1400064dd342856fe2bae6153eeb96259
parentf4b23cc2d5dc78ef5acbc529eb1219cc41eb5b96
pcmcia: fix 'driver ... did not release config properly' warning

Up to 2.6.34 pcmcia_release_irq() reset p_dev->_irq to 0 after releasing
the irq.  The IRQ is now released in pcmcia_disable_device(), however
p_dev->_irq is not reset, triggering a warning in pcmcia_device_remove().

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
drivers/pcmcia/pcmcia_resource.c