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