[PATCH] Char: stallion, fix fail paths
authorJiri Slaby <jirislaby@gmail.com>
Fri, 8 Dec 2006 10:39:13 +0000 (02:39 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 8 Dec 2006 16:28:59 +0000 (08:28 -0800)
commitfc06b5cf858787934110b9398d2d5a0c0493c1dd
treeb0c7b21e911039695149eb557397e27406c101cd
parent843b568cf0c800b87e48fcfb171a7a83318db39c
[PATCH] Char: stallion, fix fail paths

Release everything what was allocated and check return value of isa probing.
Release only ISA boards in module exit, since pci have their own
pci-probing-remove.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/stallion.c