TTY: simserial, use tty_port_close_end
authorJiri Slaby <jslaby@suse.cz>
Mon, 5 Mar 2012 13:52:34 +0000 (14:52 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Mar 2012 20:48:27 +0000 (12:48 -0800)
commit37343030458c0eea3f1093b09fc604d4f300eac7
tree9175790ba72b6061c6c8a277285c663f4c3b44c7
parent2fcd5caf6d9dbf274ac7ef277f1cc541f1be9784
TTY: simserial, use tty_port_close_end

The code is identical except locking. But added locks to protect
counts do not hurt here. Rather the contrary.

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