commit | 458cd31a4c33ce489eb538193f801ac73ff4010b | [log] [tgz] |
---|---|---|
author | Jiri Slaby <jslaby@suse.cz> | Mon Mar 05 14:52:38 2012 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Mar 08 12:48:28 2012 -0800 |
tree | 29209b308ae9c4425c7dbb636aea7be00dbdc8ed | |
parent | 9aead90a7f5772fc74f733242d953688748b0ce4 [diff] |
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>