tty: Fix comments for tty_ldisc_get()
authorPeter Hurley <peter@hurleysoftware.com>
Mon, 11 Jan 2016 06:40:59 +0000 (22:40 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Jan 2016 23:01:44 +0000 (15:01 -0800)
commitc0cc1c5d6b67289ea2e77346e0161506b0d4f393
tree72ca416062ce5d5602048205ed6f74cdb255f9cc
parentece53405a1f8ddf60b78e1365addcad521b2c93f
tty: Fix comments for tty_ldisc_get()

tty_ldisc_get() returns ERR_PTR() values if unsuccessful, not NULL;
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