USB: serial: ark3116: simplify endpoint sanity check
authorJohan Hovold <johan@kernel.org>
Thu, 2 Mar 2017 11:51:20 +0000 (12:51 +0100)
committerJohan Hovold <johan@kernel.org>
Thu, 16 Mar 2017 09:33:42 +0000 (10:33 +0100)
commit52ccf4607a5581234fb5c5cff1d38a8c1b69fdc2
treede41be639f3e1055c7bce6385ea8d4a3adc70c39
parent92e6b2c675e1d247317ec41a078f49aaade7f716
USB: serial: ark3116: simplify endpoint sanity 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/ark3116.c