OSDN Git Service

mos7720: bury dead TIOCM... in ->ioctl()
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 12 Sep 2018 04:13:10 +0000 (00:13 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 14 Sep 2018 15:12:37 +0000 (11:12 -0400)
commit7eaec37e04616136915ad2207417beb29445fc35
tree99cb08990f2983a9916520da200a6d114cb0edba
parenta913bc76ed7bdc0b31255268afcb7feffdc8600b
mos7720: bury dead TIOCM... in ->ioctl()

These ioctls never reach driver's ->ioctl() - tty_ioctl() handles
them on its own.  ->tiocm[gs]et() is what actually gets called,
and mos7720 provides those, with results equivalent to what the
unreachable code would be doing when called.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/usb/serial/mos7720.c