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