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

From: Johan Hovold

Date: Mon Mar 30 2026 - 06:22:38 EST


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