tty: Move pty-specific set_termios() handling to pty driver
authorPeter Hurley <peter@hurleysoftware.com>
Thu, 16 Oct 2014 19:33:23 +0000 (15:33 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Nov 2014 00:34:36 +0000 (16:34 -0800)
commitdbfcd851a9ee0bf6952e538be75230b7c071dafb
tree83a8d040432dd90ad72c48f5f2158a753f47409a
parent6460fbbf476ad8d4f4196534c00019975b33e1db
tty: Move pty-specific set_termios() handling to pty driver

Packet mode is unique to the pty driver; move the packet mode state
change code from the generic tty ioctl handler to the pty driver.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Reviewed-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/pty.c
drivers/tty/tty_ioctl.c