tty: Fix comments for tty_ldisc_release()
authorPeter Hurley <peter@hurleysoftware.com>
Mon, 11 Jan 2016 06:41:00 +0000 (22:41 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Jan 2016 23:01:44 +0000 (15:01 -0800)
commit5b6e6832f41c9422753804671ee06af37ac8caf6
tree18d7765f62ac48006c43d782190b964253ed61ed
parentc0cc1c5d6b67289ea2e77346e0161506b0d4f393
tty: Fix comments for tty_ldisc_release()

tty_ldisc_kill() sets tty->ldisc to NULL; _not_ to N_TTY with a valid
but unopened ldisc. Fix function header documentation.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_ldisc.c