public inbox for linux-can@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] can: refactor USB endpoint lookups
@ 2026-03-30 10:18 Johan Hovold
  2026-03-30 10:18 ` [PATCH 1/2] can: kvaser_usb: leaf: refactor endpoint lookup Johan Hovold
  2026-03-30 10:18 ` [PATCH 2/2] can: ucan: " Johan Hovold
  0 siblings, 2 replies; 3+ messages in thread
From: Johan Hovold @ 2026-03-30 10:18 UTC (permalink / raw)
  To: Marc Kleine-Budde, Vincent Mailhol; +Cc: linux-can, linux-kernel, Johan Hovold

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-03-30 10:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-30 10:18 [PATCH 0/2] can: refactor USB endpoint lookups Johan Hovold
2026-03-30 10:18 ` [PATCH 1/2] can: kvaser_usb: leaf: refactor endpoint lookup Johan Hovold
2026-03-30 10:18 ` [PATCH 2/2] can: ucan: " Johan Hovold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox