linux/drivers/staging/ccg
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
..
ccg.c USB merge for 3.7-rc1 2012-10-01 13:23:01 -07:00
composite.c usb: gadget: remove global variable composite in composite.c 2012-09-10 15:35:41 +03:00
composite.h staging: ccg: include all sourced files 2012-09-10 15:35:35 +03:00
config.c staging: ccg: include all sourced files 2012-09-10 15:35:35 +03:00
epautoconf.c staging: ccg: include all sourced files 2012-09-10 15:35:35 +03:00
f_acm.c staging: ccg: include all sourced files 2012-09-10 15:35:35 +03:00
f_fs.c staging: ccg: include all sourced files 2012-09-10 15:35:35 +03:00
f_mass_storage.c staging: ccg: include all sourced files 2012-09-10 15:35:35 +03:00
f_rndis.c staging: ccg: include all sourced files 2012-09-10 15:35:35 +03:00
gadget_chips.h staging: ccg: include all sourced files 2012-09-10 15:35:35 +03:00
Kconfig USB merge for 3.7-rc1 2012-10-01 13:23:01 -07:00
Makefile staging: ccg: include all sourced files 2012-09-10 15:35:35 +03:00
ndis.h staging: ccg: include all sourced files 2012-09-10 15:35:35 +03:00
rndis.c staging: ccg: include all sourced files 2012-09-10 15:35:35 +03:00
rndis.h staging: ccg: include all sourced files 2012-09-10 15:35:35 +03:00
storage_common.c staging: ccg: include all sourced files 2012-09-10 15:35:35 +03:00
sysfs-class-ccg_usb
TODO
u_ether.c Merge branch 'for-3.7' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq 2012-10-02 09:54:49 -07:00
u_ether.h staging: ccg: include all sourced files 2012-09-10 15:35:35 +03:00
u_serial.c TTY: call tty_port_destroy in the rest of drivers 2012-11-15 17:20:58 -08:00
u_serial.h staging: ccg: include all sourced files 2012-09-10 15:35:35 +03:00
usbstring.c staging: ccg: include all sourced files 2012-09-10 15:35:35 +03:00