From: Jiri Slaby Date: Mon, 2 Apr 2012 11:54:00 +0000 (+0200) Subject: TTY: isdn, use tty_port_close_end helper X-Git-Tag: v3.5-rc1~146^2~30^2~70 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4330d663fed02ace2feba1ab3795ab0c08148a28;p=pandora-kernel.git TTY: isdn, use tty_port_close_end helper The code does almost the same, so there we can leverage the helper's code. The only difference is locking. The helper protects counts by a spinlock. This never hurts and should be added to other code parts too. Signed-off-by: Jiri Slaby Cc: Karsten Keil Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed