linux/drivers/s390
Jiri Slaby 20cda6f25f TTY: tty3270, 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

In this case ->install is the only thing we want to do. We do not need
->open at all. See the tty->count > 1 check.

And since we take a reference in ->install, we need also ->cleanup to
drop the reference to a view.

Final note, see that we leave raw3270_find_view in place. It is
because views are removed even from module_exit.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: linux390@de.ibm.com
Cc: linux-s390@vger.kernel.org
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-08-13 16:53:14 -07:00
..
block s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
char TTY: tty3270, add tty install 2012-08-13 16:53:14 -07:00
cio s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
crypto s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
kvm KVM updates for the 3.6 merge window 2012-07-24 12:01:20 -07:00
net qeth: repair crash in qeth_l3_vlan_rx_kill_vid() 2012-07-25 15:24:13 -07:00
scsi s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
Makefile [S390] split/move machine check handler code 2009-03-26 15:24:10 +01:00