Use the common USB helper for looking up bulk and interrupt endpoints
instead of open coding.
Johan
Johan Hovold (3):
wifi: at76c50x: refactor endpoint lookup
wifi: libertas: refactor endpoint lookup
wifi: libertas_tf: refactor endpoint lookup
drivers/net/wireless/atmel/at76c50x-usb.c | 22 ++-------
.../net/wireless/marvell/libertas/if_usb.c | 33 +++++++------
.../net/wireless/marvell/libertas_tf/if_usb.c | 46 +++++++++----------
3 files changed, 41 insertions(+), 60 deletions(-)
--
2.52.0