tty: simplify ktermios allocation
authorAlan Cox <alan@redhat.com>
Mon, 13 Oct 2008 09:44:08 +0000 (10:44 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 13 Oct 2008 16:51:44 +0000 (09:51 -0700)
commitfe6e29fdb1a7b94891bbdd3c67358fe4ed14639d
treea1b9524ec42081e6573dd5a77bbb881117c6a73b
parent8dff04ea316125639120c0a565ce0346b892fef7
tty: simplify ktermios allocation

Copy the simplification from the pty unix98 special case to the generic one.
This allows us to kill off driver->termios_locked entirely which is nice. We
have to whack bits of the cris driver as it meddles in places it shouldn't
providing its own arrays that were never used anyway.

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/tty_io.c
drivers/serial/crisv10.c