USB: serial: symbolserial: simplify endpoint check
authorJohan Hovold <johan@kernel.org>
Thu, 2 Mar 2017 11:51:33 +0000 (12:51 +0100)
committerJohan Hovold <johan@kernel.org>
Thu, 16 Mar 2017 09:33:47 +0000 (10:33 +0100)
commite2cd017f1b7c2e79b3a89d3c8e31c88ad365243a
tree8f67e25b9d5b526fa83f6a3bc348be7ce4f55511
parentbdd154436077391e40fd20be8ff384d4002b3970
USB: serial: symbolserial: 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/symbolserial.c