p54spi: Release GPIO lines and IRQ on error in p54spi_probe
authorMax Filippov <jcmvbkbc@gmail.com>
Wed, 29 Feb 2012 20:40:08 +0000 (00:40 +0400)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 5 Mar 2012 20:23:17 +0000 (15:23 -0500)
commit62ebeed8d00aef75eac4fd6c161cae75a41965ca
treec4d51c92bca401bb5e1b0f8c230d7fceb00f91ac
parent461bc26c93f27d306a0e74cf642b33eb9d2d4112
p54spi: Release GPIO lines and IRQ on error in p54spi_probe

This makes it possible to reload driver if insmod has failed due to
missing firmware.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Cc: stable <stable@vger.kernel.org>
Acked-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/p54/p54spi.c