Jiri Slaby 9a8e62bc68 TTY: n_gsm, use kref from tty_port
After commit "TTY: move tty buffers to tty_port", the tty buffers are
not freed in some drivers. This is because tty_port_destructor is not
called whenever a tty_port is freed. This was an assumption I counted
with but was unfortunately untrue. So fix the drivers to fulfil this
assumption.

Here it is enough to switch to refcounting in tty_port.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-11-15 17:20:57 -08:00
..
2012-09-05 13:28:35 -07:00
2012-08-13 16:50:19 -07:00
2012-09-05 13:28:35 -07:00
2012-11-15 17:18:55 -08:00
2012-09-05 13:28:35 -07:00
2012-11-15 17:20:57 -08:00
2012-08-10 12:55:47 -07:00
2012-08-13 16:50:19 -07:00
2012-11-15 17:18:55 -08:00
2012-08-13 16:50:19 -07:00
2012-09-05 13:28:35 -07:00
2012-09-05 13:28:35 -07:00
2012-11-15 17:18:55 -08:00