USB: serial: whiteheat: simplify endpoint check
authorJohan Hovold <johan@kernel.org>
Thu, 2 Mar 2017 11:51:34 +0000 (12:51 +0100)
committerJohan Hovold <johan@kernel.org>
Thu, 16 Mar 2017 09:33:47 +0000 (10:33 +0100)
commit2ac8fc51ddf152fdd2344c6d286976803183d59c
treead6d266ca0bb11d55ba13d6f8f639ffb25169f41
parente2cd017f1b7c2e79b3a89d3c8e31c88ad365243a
USB: serial: whiteheat: simplify endpoint check

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

Note that the driver registers four ports but uses five bulk-endpoint
pairs.

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