[PATCH] Char: istallion, change init sequence
authorJiri Slaby <jirislaby@gmail.com>
Fri, 8 Dec 2006 10:39:25 +0000 (02:39 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 8 Dec 2006 16:29:00 +0000 (08:29 -0800)
commitf2362c9411e914642ffe216e10987bb9aae2a480
treee703ac77ad75c8e69b56132827eed13f4943ad2a
parentf1cc54f8c6ad76cf41e21cbb4620b9549b882a01
[PATCH] Char: istallion, change init sequence

Reorganizate module init and exit and implement logic, when something fails in
these functions.  The former is needed for proper handling dynamic
tty_register_device.

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/istallion.c