]> git.baikalelectronics.ru Git - kernel.git/commit
tty: Use 'disc' for line discipline index name
authorPeter Hurley <peter@hurleysoftware.com>
Mon, 11 Jan 2016 06:41:04 +0000 (22:41 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Jan 2016 23:01:44 +0000 (15:01 -0800)
commit03646d705284711896334e14058e833a4833b96f
tree470bde777d834f7a3572d8737d6af12b0881ada1
parenta2469db8c15cbef41f7bae041f2edd44193ac00b
tty: Use 'disc' for line discipline index name

tty->ldisc is a ptr to struct tty_ldisc, but unfortunately 'ldisc' is
also used as a parameter or local name to refer to the line discipline
index value (ie, N_TTY, N_GSM, etc.); instead prefer the name used
by the line discipline registration/ref counting functions.

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