USB: serial: omninet: simplify endpoint check
authorJohan Hovold <johan@kernel.org>
Thu, 2 Mar 2017 11:51:28 +0000 (12:51 +0100)
committerJohan Hovold <johan@kernel.org>
Thu, 16 Mar 2017 09:33:45 +0000 (10:33 +0100)
commit8ee1592d125a95dc8a554398e014b65ee04cd80c
tree5c87189b9fbf2f3e11e915797ce27ca42d4ada57
parent206ff831bebb816087da29a34fcff5bd603602e1
USB: serial: omninet: simplify endpoint check

Simplify the endpoint sanity check by letting core verify that the
required endpoints are present.

Note that the driver uses the second bulk-out endpoint for writing.

Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/omninet.c