TTY: tty3270, free tty driver properly
authorJiri Slaby <jslaby@suse.cz>
Tue, 7 Aug 2012 19:47:41 +0000 (21:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Aug 2012 20:29:57 +0000 (13:29 -0700)
commit2312e4f3b2f17cac2cf257c759ad48eb80fdf230
treec1c45e68a7cb849cdb80bd7db1acf51f625c3f18
parent536a3440a27f8687090bdf33468b003bc0f810cf
TTY: tty3270, free tty driver properly

On module unload, in tty3270_exit, we forgot to free the tty driver.
Add there a call to put_tty_driver.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/s390/char/tty3270.c