[PATCH 0/2] can: refactor USB endpoint lookups

Johan Hovold posted 2 patches 2 days, 19 hours ago
.../net/can/usb/kvaser_usb/kvaser_usb_leaf.c  | 25 ++++--------
drivers/net/can/usb/ucan.c                    | 40 +++++--------------
2 files changed, 19 insertions(+), 46 deletions(-)
[PATCH 0/2] can: refactor USB endpoint lookups
Posted by Johan Hovold 2 days, 19 hours ago
Use the common USB helper for looking up bulk and interrupt endpoints
instead of open coding.

Johan


Johan Hovold (2):
  can: kvaser_usb: leaf: refactor endpoint lookup
  can: ucan: refactor endpoint lookup

 .../net/can/usb/kvaser_usb/kvaser_usb_leaf.c  | 25 ++++--------
 drivers/net/can/usb/ucan.c                    | 40 +++++--------------
 2 files changed, 19 insertions(+), 46 deletions(-)

-- 
2.52.0