From: Jiri Slaby Date: Thu, 7 Mar 2013 12:12:30 +0000 (+0100) Subject: TTY: add tty_port_tty_hangup helper X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~136^2~95 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa27a094e2c2e0cc59914e56113b860f524f4479;p=pandora-kernel.git TTY: add tty_port_tty_hangup helper It allows for cleaning up on a considerable amount of places. They did port_get, hangup, kref_put. Now the only thing needed is to call tty_port_tty_hangup which does exactly that. And they can also decide whether to consider CLOCAL or completely ignore that. Signed-off-by: Jiri Slaby Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed