linux/net/irda/ircomm
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
..
ircomm_core.c irda: Kill set but unused variable 'clen' in ircomm_connect_indication() 2011-05-19 18:52:59 -04:00
ircomm_event.c net: mark read-only arrays as const 2009-08-05 10:42:58 -07:00
ircomm_lmp.c irda: Fix error propagation in ircomm_lmp_connect_response() 2011-05-19 18:58:39 -04:00
ircomm_param.c TTY: ircomm, use tty from tty_port 2012-06-12 15:50:24 -07:00
ircomm_ttp.c net: replace remaining __FUNCTION__ occurrences 2008-03-05 20:47:47 -08:00
ircomm_tty_attach.c serial: add a new helper function 2012-09-05 13:28:35 -07:00
ircomm_tty_ioctl.c tty: move the termios object into the tty 2012-07-16 13:00:41 -07:00
ircomm_tty.c TTY: call tty_port_destroy in the rest of drivers 2012-11-15 17:20:58 -08:00
Kconfig
Makefile Net: irda: ircomm: Makefile: Remove deprecated kbuild goal defintions 2010-11-22 08:16:12 -08:00