TTY: simserial, use tty_port_hangup
authorJiri Slaby <jslaby@suse.cz>
Mon, 5 Mar 2012 13:52:38 +0000 (14:52 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Mar 2012 20:48:28 +0000 (12:48 -0800)
commit458cd31a4c33ce489eb538193f801ac73ff4010b
tree29209b308ae9c4425c7dbb636aea7be00dbdc8ed
parent9aead90a7f5772fc74f733242d953688748b0ce4
TTY: simserial, use tty_port_hangup

Convert shutdown to be tty_port_operations->shutdown. Then we can use
tty_port_hangup. (And we have to use tty_port_close.)

This means we no longer touch ASYNC_INITIALIZED, TTY_IO_ERROR. Also we
do not need to do any peculiar TTY logic in the file now.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/ia64/hp/sim/simserial.c