Char: cyclades, cy_init error handling
authorJiri Slaby <jirislaby@gmail.com>
Tue, 8 May 2007 07:36:20 +0000 (00:36 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:23 +0000 (11:15 -0700)
commit9dacf3b2f0cc657a5621e7f6d67ed27ce598f405
tree59169bf14a537d984f3f38e5113352b8f952bcb0
parent14a55a6789d8409e58329310f9a18fc141deb4c2
Char: cyclades, cy_init error handling

- do not panic if tty_register_driver fails
- handle fail paths properly

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/cyclades.c