Martin Schwidefsky b512353c15 s390/3270: fix view reference counting
The tty3270_close function set tty->driver_data to NULL after the
open count dropped to zero but tty3270_cleanup still needs the
pointer to the tty3270 view to drop the reference count.

Move the clearing of tty->driver_data to tty3270_cleanup and
drop the unnecessary tty_port_tty_set calls in tty3270_install.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2016-05-04 16:29:51 +02:00
..
2016-01-28 14:19:12 -08:00
2014-11-19 13:01:20 -05:00
2013-01-15 22:43:15 -08:00
2016-04-15 18:16:39 +02:00