TTY: i4l, add tty install
authorJiri Slaby <jslaby@suse.cz>
Tue, 7 Aug 2012 19:47:59 +0000 (21:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Aug 2012 23:53:13 +0000 (16:53 -0700)
commitf7e0405e7416424c2db2155949dca1daa0225089
tree630dd144c063050dd5a071c03fdd3ba21bc9fa09
parentd2281107457cacf44d60b8a97c5db1af27c3a716
TTY: i4l, add tty install

This has two outcomes:
* we give the TTY layer a tty_port
* we do not find the info structure every time open is called on that
  tty

The "tty->port = port" assignment is not needed anymore since it
happens in tty_port_install implicitly.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Karsten Keil <isdn@linux-pingi.de>
Cc: netdev@vger.kernel.org
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/isdn/i4l/isdn_tty.c