TTY: switch tty_buffer_request_room to tty_port
authorJiri Slaby <jslaby@suse.cz>
Thu, 3 Jan 2013 14:53:01 +0000 (15:53 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Jan 2013 06:17:28 +0000 (22:17 -0800)
commit227434f8986c3827a1faedd1feb437acd6285315
treee96f6c6a800b81d096be73c1b7943c7aa24aa632
parentea28fd56fcde69af768135e428093f94c5ca6a88
TTY: switch tty_buffer_request_room to tty_port

Now, we start converting tty buffer functions to actually use
tty_port. This will allow us to get rid of the need of tty pointer in
many call sites. Only tty_port will be needed and hence no more
tty_port_tty_get calls in those paths.

Here we start with tty_buffer_request_room.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
21 files changed:
arch/mn10300/kernel/mn10300-serial.c
arch/um/drivers/chan_kern.c
drivers/char/pcmcia/synclink_cs.c
drivers/isdn/i4l/isdn_common.c
drivers/isdn/i4l/isdn_tty.c
drivers/staging/dgrp/dgrp_net_ops.c
drivers/tty/cyclades.c
drivers/tty/ehv_bytechan.c
drivers/tty/hvc/hvc_console.c
drivers/tty/hvc/hvcs.c
drivers/tty/serial/cpm_uart/cpm_uart_core.c
drivers/tty/serial/ioc4_serial.c
drivers/tty/serial/jsm/jsm_tty.c
drivers/tty/serial/mpsc.c
drivers/tty/serial/mrst_max3110.c
drivers/tty/serial/pch_uart.c
drivers/tty/serial/sh-sci.c
drivers/tty/serial/ucc_uart.c
drivers/tty/tty_buffer.c
drivers/usb/serial/quatech2.c
include/linux/tty_flip.h