drivers: tty: Merge alloc_tty_struct and initialize_tty_struct
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Thu, 10 Jul 2014 19:01:22 +0000 (21:01 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 Jul 2014 00:54:28 +0000 (17:54 -0700)
commit2c964a2f4191f2229566895f1a0e85f8339f5dd1
treef83c3259629e2b8416e96a03bcee8c6dc52bd9ca
parent493671a2cecbb75d5b1aee6959bef1ecb38b932d
drivers: tty: Merge alloc_tty_struct and initialize_tty_struct

The two functions alloc_tty_struct and initialize_tty_struct are
always called together. Merge them into alloc_tty_struct, updating its
prototype and the only two callers of these functions.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/pty.c
drivers/tty/tty_io.c
include/linux/tty.h