USB: usblcd: refactor endpoint retrieval
authorJohan Hovold <johan@kernel.org>
Fri, 17 Mar 2017 10:35:43 +0000 (11:35 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Mar 2017 12:54:03 +0000 (13:54 +0100)
commitaac96ef9ed3aba10d97cbc5afaf79365701a2f14
treeb565f6fb8f7c68b5c154c3127b5f7322671d5160
parent9b181166f17534a82b4b628b13e524a893715dfc
USB: usblcd: refactor endpoint retrieval

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

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