]> git.baikalelectronics.ru Git - kernel.git/commit
TTY: amiserial, pass tty down to functions
authorJiri Slaby <jslaby@suse.cz>
Mon, 5 Mar 2012 13:52:22 +0000 (14:52 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Mar 2012 20:30:50 +0000 (12:30 -0800)
commit5d224f766c01674f25689e302ac167b6234f76df
tree31883b2d8e59c8ccd93dc8feabb55c5e3532f72b
parent72c206e6c76a325c299f97e733b8cc18a0a1a279
TTY: amiserial, pass tty down to functions

This avoids pain with tty refcounting and touching tty_port in the
future. It allows us to remove some info->tty tests because the tty
passed down to them can never be NULL.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/amiserial.c