commit | aa27a094e2c2e0cc59914e56113b860f524f4479 | [log] [tgz] |
---|---|---|
author | Jiri Slaby <jslaby@suse.cz> | Thu Mar 07 13:12:30 2013 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Mar 18 16:24:29 2013 -0700 |
tree | b3cfef8d8023741107e3d3bed934f2bd4d8bf189 | |
parent | e4408ce3c23f8451eff7a2954694598fb8fce833 [diff] |
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 <jslaby@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>