]> git.karo-electronics.de Git - linux-beck.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)
commitc12da96f801a3f45b0634c966b9e7cda307daa72
tree470bde777d834f7a3572d8737d6af12b0881ada1
parent6ffeb4b2782b31f3d7158795a451ad371955e8a2
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