TTY: isicom, stop using port->tty
authorJiri Slaby <jslaby@suse.cz>
Thu, 15 Nov 2012 08:49:48 +0000 (09:49 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Nov 2012 01:18:55 +0000 (17:18 -0800)
commit7342c59a44ad9e5f30baaa2de84830f40b9f06c0
tree57cb023fce5ab3da54bea7a1d00c3aeb4f5220b6
parent2dff8ad92661b6c99e9ba8b5918e43b522551556
TTY: isicom, stop using port->tty

Do not access unsafe port->tty pointer when we have a safe tty
already. Use the safe one.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/isicom.c