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