]> git.karo-electronics.de Git - linux-beck.git/commit
tty: Move the handling of the tty release logic
authorAlan Cox <alan@linux.intel.com>
Tue, 17 Jul 2012 16:06:57 +0000 (17:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Jul 2012 16:13:38 +0000 (09:13 -0700)
commit36b3c070d2346c890d690d71f6eab02f8c511137
tree1a1345329e3827eec3cf0de70eac2b2f1d663b55
parent3db1ddb725dcd9a2bb32be2b64d0688c3e1c4579
tty: Move the handling of the tty release logic

Now that we don't have tty->termios tied to drivers->tty we can untangle
the logic here. In addition we can push the removal logic out of the
destructor path.

At that point we can think about sorting out tty_port and console and all
the other ugly hangovers.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/pty.c
drivers/tty/tty_io.c
drivers/tty/vt/vt.c
drivers/usb/serial/usb-serial.c
include/linux/tty.h
include/linux/tty_driver.h