USB: usbtmc: refactor endpoint retrieval
authorJohan Hovold <johan@kernel.org>
Tue, 28 Mar 2017 08:33:16 +0000 (10:33 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Mar 2017 09:53:15 +0000 (11:53 +0200)
commit041370cce889510163d9c1f677dc298d37bfb732
tree75ef965500d3ddcb7b1789c67502e477c4d84aee
parent175f88a374ca905293f67219a8201cd00a27f541
USB: usbtmc: refactor endpoint retrieval

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

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