USB: serial: cyberjack: simplify endpoint check
authorJohan Hovold <johan@kernel.org>
Thu, 2 Mar 2017 11:51:21 +0000 (12:51 +0100)
committerJohan Hovold <johan@kernel.org>
Thu, 16 Mar 2017 09:33:42 +0000 (10:33 +0100)
commitd183b9b43390cf58ec01e05e81defe764b410a77
treed2ac6958c874f23978d468bbaa11d6d80e78abef
parent52ccf4607a5581234fb5c5cff1d38a8c1b69fdc2
USB: serial: cyberjack: simplify endpoint check

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

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