linux_dsm_epyc7002/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
..
hardware.c workqueue: deprecate flush[_delayed]_work_sync() 2012-08-20 14:51:24 -07:00
hardware.h tty: move ipwireless driver from drivers/char/pcmcia/ to drivers/tty/ 2011-02-22 16:23:22 -08:00
main.c pcmcia: Convert pcmcia_device_id declarations to const 2011-05-06 07:46:22 +02:00
main.h tty: move ipwireless driver from drivers/char/pcmcia/ to drivers/tty/ 2011-02-22 16:23:22 -08:00
Makefile tty: remove invalid location line in file header 2011-04-19 16:33:36 -07:00
network.c ipwireless: don't oops if we run out of space 2012-11-15 16:53:15 -08:00
network.h tty: move ipwireless driver from drivers/char/pcmcia/ to drivers/tty/ 2011-02-22 16:23:22 -08:00
setup_protocol.h tty: move ipwireless driver from drivers/char/pcmcia/ to drivers/tty/ 2011-02-22 16:23:22 -08:00
tty.c TTY: call tty_port_destroy in the rest of drivers 2012-11-15 17:20:58 -08:00
tty.h tty: move ipwireless driver from drivers/char/pcmcia/ to drivers/tty/ 2011-02-22 16:23:22 -08:00