From: Johan Hovold <johan@kernel.org>
To: Marc Kleine-Budde <mkl@pengutronix.de>,
Vincent Mailhol <mailhol@kernel.org>
Cc: linux-can@vger.kernel.org, linux-kernel@vger.kernel.org,
Johan Hovold <johan@kernel.org>
Subject: [PATCH 0/2] can: refactor USB endpoint lookups
Date: Mon, 30 Mar 2026 12:18:15 +0200 [thread overview]
Message-ID: <20260330101817.1664787-1-johan@kernel.org> (raw)
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
next reply other threads:[~2026-03-30 10:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-30 10:18 Johan Hovold [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260330101817.1664787-1-johan@kernel.org \
--to=johan@kernel.org \
--cc=linux-can@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mailhol@kernel.org \
--cc=mkl@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox