TTY: con3215, use tty from tty_port
commit86b26007a37d81e7aca242bb5b649473f8f81297
authorJiri Slaby <jslaby@suse.cz>
Wed, 11 Apr 2012 09:14:59 +0000 (11 11:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Apr 2012 17:56:12 +0000 (13 10:56 -0700)
treec2d26c2408db7f2244ffcf0e53b3bc0f0042cece
parent8dd360f042387aed5e2472d2246b677b7703274f
TTY: con3215, use tty from tty_port

Obtain tty_struct only once in ISR and pass it down to
raw3215_next_io. Other than that, we just use the tty with raised
reference. And set it properly in open and close.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: linux390@de.ibm.com
Cc: linux-s390@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/s390/char/con3215.c