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

This driver expect everything to work.  Implement fail paths logic to release
regions, irq hangler, memory...  if something is in bad state.

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