From: Jiri Slaby Date: Mon, 5 Mar 2012 13:52:55 +0000 (+0100) Subject: TTY: isdn/gigaset, use tty_port X-Git-Tag: v3.4-rc1~185^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48a7466f4dd0104d87a6d8dd0f25027be89c8453;p=pandora-kernel.git TTY: isdn/gigaset, use tty_port Let us port the code to use tty_port. We now use open_count and tty from there. This allows us also to use tty_port_tty_set with tty refcounting instead of hand-written locking and logic. Note that tty and open_count are no longer protected by cs->lock. It is protected by tty_port->lock. But since all the places where they were used are now switched to the helpers, we are fine. Signed-off-by: Jiri Slaby Cc: Hansjoerg Lipp Acked-by: Tilman Schmidt Cc: Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed