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)
commit9d2ae2335ce69249403061da4f0da63d9b0763f6
treef3f260fef9bef0601d4ec48ca02c9183b6caf5af
parentb538c4eaf29176da55804963fb6a77883be6400a
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
This page took 0.027159 seconds and 5 git commands to generate.