TTY: move ldisc data from tty_struct: locks
authorJiri Slaby <jslaby@suse.cz>
Thu, 18 Oct 2012 20:26:42 +0000 (22:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Oct 2012 23:53:01 +0000 (16:53 -0700)
commitbddc7152f68bc1e0ee1f55a8055e33531f384101
tree2d34628864104d0913d18cccc7eee51f730fdea9
parentba2e68ac6157004ee4922fb39ebd9459bbae883e
TTY: move ldisc data from tty_struct: locks

atomic_write_lock is not n_tty specific, so move it up in the
tty_struct.

And since these are the last ones to move, remove also the comment
saying there are some ldisc' members. There are none now.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/n_tty.c
drivers/tty/tty_io.c
include/linux/tty.h