]> git.karo-electronics.de Git - karo-tx-linux.git/commit
USB: idmouse: refactor endpoint retrieval
authorJohan Hovold <johan@kernel.org>
Fri, 17 Mar 2017 10:35:38 +0000 (11:35 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Mar 2017 12:53:52 +0000 (13:53 +0100)
commitfa38442eaac1f5a3ba883c91bdc772e77d35bf27
tree38d6c7d4eabf244f063e568ec6a8a6bdd5f45b79
parent50129f74548b5075187fa4908c2ba3a081ec1b67
USB: idmouse: refactor endpoint retrieval

Use the new endpoint helpers to lookup the required bulk-in endpoint.

Note that we now pick the first bulk-in endpoint regardless of whether
it happens to be the first descriptor.

Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/idmouse.c