serial_core: Get a reference for port->tty in uart_remove_one_port()
authorGeert Uytterhoeven <geert+renesas@linux-m68k.org>
Mon, 17 Mar 2014 13:10:58 +0000 (14:10 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Mar 2014 23:16:59 +0000 (16:16 -0700)
commit4c6d5b4d537fbdfa310295e7071c85b07783d245
treed17076585759c5ba0a4d2f42cdc0f9f4c2588244
parent63e3ad3252695a2b8c01b6f6c225e4537af08b85
serial_core: Get a reference for port->tty in uart_remove_one_port()

Suggested-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@linux-m68k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/serial_core.c