USB: serial: kobil_sct: simplify endpoint check
authorJohan Hovold <johan@kernel.org>
Thu, 2 Mar 2017 11:51:26 +0000 (12:51 +0100)
committerJohan Hovold <johan@kernel.org>
Thu, 16 Mar 2017 09:33:44 +0000 (10:33 +0100)
commit35194572b4ede8b021d4c70c8785cd4d5c3fae0a
treea63617e299d5963657d758cefc365e939b9f45ac
parentb714d5dc0631285d2cf237c1d4ed16ba9b68c6fb
USB: serial: kobil_sct: 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/kobil_sct.c