[PCMCIA] i82365: release all resources if no devices are found
authorIgor Popik <igor.popik@gmail.com>
Thu, 6 Oct 2005 18:32:58 +0000 (20:32 +0200)
committerDominik Brodowski <linux@dominikbrodowski.net>
Thu, 10 Nov 2005 10:42:16 +0000 (11:42 +0100)
commita2932b35a0efd01b20a3f598d19db052d64935f5
tree3a9e19970797aeda2f860136f5f05ab45e2a05f4
parente34631508861237e598e7d72703eae4478761f37
[PCMCIA] i82365: release all resources if no devices are found

The i82365 driver does not release all the resources when the device is not
found. This can cause an oops when reading /proc/ioports after module
unload.

Signed-off-by: Igor Popik <igor.popik@gmail.com>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
drivers/pcmcia/i82365.c