kernel_optimize_test/drivers/isdn/gigaset
Jiri Slaby 48a7466f4d TTY: isdn/gigaset, use tty_port
Let us port the code to use tty_port. We now use open_count and tty
from there. This allows us also to use tty_port_tty_set with tty
refcounting instead of hand-written locking and logic.

Note that tty and open_count are no longer protected by cs->lock. It is
protected by tty_port->lock. But since all the places where they were
used are now switched to the helpers, we are fine.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Hansjoerg Lipp <hjlipp@web.de>
Acked-by: Tilman Schmidt <tilman@imap.cc>
Cc: <gigaset307x-common@lists.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-03-08 12:51:13 -08:00
..
asyncdata.c drivers/isdn: Add export.h for EXPORT_SYMBOL/THIS_MODULE as required. 2011-10-31 19:31:49 -04:00
bas-gigaset.c isdn: gigaset: Fix set-but-unused variable. 2011-04-17 16:22:33 -07:00
capi.c drivers/isdn: Add export.h for EXPORT_SYMBOL/THIS_MODULE as required. 2011-10-31 19:31:49 -04:00
common.c TTY: isdn/gigaset, use tty_port 2012-03-08 12:51:13 -08:00
dummyll.c drivers/isdn: Add export.h for EXPORT_SYMBOL/THIS_MODULE as required. 2011-10-31 19:31:49 -04:00
ev-layer.c drivers/isdn: Add export.h for EXPORT_SYMBOL/THIS_MODULE as required. 2011-10-31 19:31:49 -04:00
gigaset.h TTY: isdn/gigaset, use tty_port 2012-03-08 12:51:13 -08:00
i4l.c isdn/gigaset: report ISDN4Linux interface only once 2011-11-27 17:08:30 -05:00
interface.c TTY: isdn/gigaset, use tty_port 2012-03-08 12:51:13 -08:00
isocdata.c isdn/gigaset: correct bas_gigaset rx buffer handling 2010-10-01 00:33:33 -07:00
Kconfig isdn/gigaset: remove EXPERIMENTAL tag from GIGASET_CAPI 2010-07-07 16:57:56 -07:00
Makefile gigaset: add Kernel CAPI interface (v3) 2009-10-06 22:43:53 -07:00
proc.c gigaset: include cleanup cleanup 2010-04-18 02:33:29 -07:00
ser-gigaset.c Revert "tty: make receive_buf() return the amout of bytes received" 2011-06-04 06:33:24 +09:00
usb-gigaset.c tree-wide: fix comment/printk typos 2010-11-01 15:38:34 -04:00