linux/drivers/tty/ipwireless
Jiri Slaby 191c5f1027 TTY: call tty_port_destroy in the rest of drivers
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.

To be sure, the TTY buffers (and later some stuff) are gone along with
the tty_port, we have to call tty_port_destroy at tear-down places.
This is mostly where the structure containing a tty_port is freed.
This patch does exactly that -- put tty_port_destroy at those places.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-11-15 17:20:58 -08:00
..
Makefile
hardware.c workqueue: deprecate flush[_delayed]_work_sync() 2012-08-20 14:51:24 -07:00
hardware.h
main.c pcmcia: Convert pcmcia_device_id declarations to const 2011-05-06 07:46:22 +02:00
main.h
network.c ipwireless: don't oops if we run out of space 2012-11-15 16:53:15 -08:00
network.h
setup_protocol.h
tty.c TTY: call tty_port_destroy in the rest of drivers 2012-11-15 17:20:58 -08:00
tty.h