]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf46d027383129298745551c7e2a092989ff15553
tree29209b308ae9c4425c7dbb636aea7be00dbdc8ed
parentb0e1387eb562c450e41dcc2a82436b5157b9e30a
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