CAPI: Use tty_port to keep track of capiminor's tty
authorJan Kiszka <jan.kiszka@web.de>
Mon, 8 Feb 2010 10:12:29 +0000 (10:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Feb 2010 00:01:29 +0000 (16:01 -0800)
commitfb4b4881ef951f6ed8fb8564ca1821dea10778c4
tree290168531f4941d485fa7159cbd94a682605290c
parent46324511809251adbedb874cc08692e247f7ed68
CAPI: Use tty_port to keep track of capiminor's tty

Use the reference management features of tty_port to look up and drop
again the tty_struct associated with a capiminor.

Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/capi/capi.c