]> git.karo-electronics.de Git - karo-tx-linux.git/commit
USB: ftdi-elan: refactor endpoint retrieval
authorJohan Hovold <johan@kernel.org>
Fri, 17 Mar 2017 10:35:37 +0000 (11:35 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Mar 2017 12:53:16 +0000 (13:53 +0100)
commit50129f74548b5075187fa4908c2ba3a081ec1b67
tree7980e066878bf28965391a65c6ae106334636b42
parenta8bbb0f8db700f75e1f6f287a0de6d715af05cf9
USB: ftdi-elan: 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/ftdi-elan.c