TTY: n_tty, propagate n_tty_data
authorJiri Slaby <jslaby@suse.cz>
Thu, 18 Oct 2012 20:26:43 +0000 (22:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Oct 2012 23:53:01 +0000 (16:53 -0700)
commit57c941212d203979720081198ebda41f51812635
tree5486ba3a3a6aa5740edfdf8c96454acfd3f0efb2
parentbddc7152f68bc1e0ee1f55a8055e33531f384101
TTY: n_tty, propagate n_tty_data

In some funtions we need only n_tty_data, so pass it down directly in
case tty is not needed there.

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