Linux Serial subsystem development
 help / color / mirror / Atom feed
From: "Uwe Kleine-König" <u.kleine-koenig@baylibre.com>
To: Jassi Brar <jassisinghbrar@gmail.com>
Cc: linux-kernel@vger.kernel.org,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Jiri Slaby <jirislaby@kernel.org>,
	Thierry Reding <thierry.reding@kernel.org>,
	Jonathan Hunter <jonathanh@nvidia.com>,
	linux-serial@vger.kernel.org, linux-tegra@vger.kernel.org
Subject: [PATCH v1 0/3] mailbox: Provide devm variants for mbox_request_channel{,_byname}()
Date: Wed, 12 Aug 2026 17:25:51 +0200	[thread overview]
Message-ID: <cover.1786547950.git.u.kleine-koenig@baylibre.com> (raw)

Hello,

the first patch introduces devm variants of mbox request functions.
The second patch is just a minor cleanup preparing the third patch.
The third patch demos how the simplification looks like for a driver
using mbox channels.

This series is mostly about the first patch, I'll resend the serial
patches separately once the first patch is in. (If the serial
maintainers are enthusiastic about the 2nd patch: There is no dependency
on the first and it can go in already now; the third patch has to wait
however.)

Best regards
Uwe

Uwe Kleine-König (3):
  mailbox: Provide devm variants for mbox_request_channel{,_byname}()
  serial: tegra-tcu: Make use of dev_err_probe() in .probe()
  serial: tegra-tcu: Make use of devm_mbox_request_channel_byname()

 drivers/mailbox/mailbox.c      | 44 ++++++++++++++++++++++++++++++++++
 drivers/tty/serial/tegra-tcu.c | 32 ++++++++++---------------
 include/linux/mailbox_client.h |  5 ++++
 3 files changed, 62 insertions(+), 19 deletions(-)


base-commit: dc59e4fea9d83f03bad6bddf3fa2e52491777482
-- 
2.47.3


             reply	other threads:[~2026-08-12 15:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-12 15:25 Uwe Kleine-König [this message]
2026-08-12 15:25 ` [PATCH v1 2/3] serial: tegra-tcu: Make use of dev_err_probe() in .probe() Uwe Kleine-König
2026-08-12 15:25 ` [PATCH v1 3/3] serial: tegra-tcu: Make use of devm_mbox_request_channel_byname() Uwe Kleine-König

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=cover.1786547950.git.u.kleine-koenig@baylibre.com \
    --to=u.kleine-koenig@baylibre.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=jassisinghbrar@gmail.com \
    --cc=jirislaby@kernel.org \
    --cc=jonathanh@nvidia.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=thierry.reding@kernel.org \
    /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