WSL2-Linux-Kernel/drivers/tty/serdev
Johan Hovold 3c635e4f14 serdev: ttyport: call tiocmget and tiocmset ops directly
The tty struct holds a pointer to the driver's tty operations so drop
the unnecessary driver dereference when calling tiocmget and tiocmset.

Note that this also makes the calls match the preceding sanity checks as
expected.

Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-01-30 11:48:08 +01:00
..
Kconfig serdev: enable TTY port controller support by default 2017-10-20 14:20:06 +02:00
Makefile serdev: add a tty port controller driver 2017-02-03 10:17:02 +01:00
core.c serdev: document the write functions using kernel-doc 2018-11-27 19:44:21 +01:00
serdev-ttyport.c serdev: ttyport: call tiocmget and tiocmset ops directly 2019-01-30 11:48:08 +01:00