From: Jiri Slaby Date: Mon, 2 Apr 2012 11:54:07 +0000 (+0200) Subject: TTY: hso, use tty from tty_port X-Git-Tag: v3.5-rc1~146^2~30^2~63 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f8c0b081daff1dbf9ca889560bf25aef0a75207;p=pandora-kernel.git TTY: hso, use tty from tty_port We switched tty refcounting there to the one provided by tty_port helpers. So tty_port->tty is now protected by tty_port->lock, not by hso_serial->serial_lock. Side note: tty->driver_data does not need the lock, so it is needed neither in open, nor in close paths. Signed-off-by: Jiri Slaby Cc: Jan Dumon Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed