Add kref to fake tty used by USB console

We alloc a fake tty in usb serial console setup function. we should
init the tty's kref otherwise we will face WARN_ON after following
invoke of tty_port_tty_set --> tty_kref_get.

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by Kevin Hao and committed by Linus Torvalds e5404586 296fa7f6

+1
+1
drivers/usb/serial/console.c
··· 135 135 err("no more memory"); 136 136 goto reset_open_count; 137 137 } 138 + kref_init(&tty->kref); 138 139 termios = kzalloc(sizeof(*termios), GFP_KERNEL); 139 140 if (!termios) { 140 141 retval = -ENOMEM;