]> git.baikalelectronics.ru Git - kernel.git/commit
TTY: tty3270, move initialization to allocation
authorJiri Slaby <jslaby@suse.cz>
Mon, 2 Apr 2012 11:54:15 +0000 (13:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Apr 2012 18:28:17 +0000 (11:28 -0700)
commiteb51a37bebcbe8819f0705746fb9ebd09e2d4fbb
treef3f260fef9bef0601d4ec48ca02c9183b6caf5af
parentaed25b1f4876f01175588cbae1b9d340e4a17b3b
TTY: tty3270, move initialization to allocation

Let us initialize all the tty3270's members at the place where the
structure is allocated.

It cleans up tty->ops->open a bit.

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