diff options
author | Johan Hovold <johan@kernel.org> | 2019-01-30 10:52:03 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-01-30 11:48:08 +0100 |
commit | 3c635e4f14482bc11e25461892f3ae193e5266f8 (patch) | |
tree | 09a1c705927b3cca082794565592213693a750f4 /drivers/macintosh/macio_asic.c | |
parent | 2d908b38d40921a03225d42fd6e48eb51bffd606 (diff) |
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>
Diffstat (limited to 'drivers/macintosh/macio_asic.c')
0 files changed, 0 insertions, 0 deletions