USB: serial: oti6858: simplify endpoint check
authorJohan Hovold <johan@kernel.org>
Thu, 2 Mar 2017 11:51:30 +0000 (12:51 +0100)
committerJohan Hovold <johan@kernel.org>
Thu, 16 Mar 2017 09:33:46 +0000 (10:33 +0100)
commit32814c87f446b90efe4350bb97924eca53152d26
tree9d2a23edda3895f599092ef4bc9b025934dc3df0
parent5e5b6444d099ac7b883f5cc112f5415fe619a595
USB: serial: oti6858: 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/oti6858.c