USB: opticon: simplify bulk-in discovery in attach
authorJohan Hovold <jhovold@gmail.com>
Sun, 18 Nov 2012 12:23:27 +0000 (13:23 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Nov 2012 21:33:55 +0000 (13:33 -0800)
commita0a5fd92a4d62506cb5c6fa64fb25653dda2cf09
treec83aa6e03583e09a3602ca453f89b190db27456e
parent37203d6f1d0bef0c0943f3d853efdccb3246e7a6
USB: opticon: simplify bulk-in discovery in attach

Remove custom end-point iteration which has already been taken care of
by usb-serial core.

The first bulk-in endpoint found will be associated with the first port.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/opticon.c