[PATCH v1 0/3] mailbox: Provide devm variants for mbox_request_channel{,_byname}()
Uwe Kleine-König <[email protected]> Wed, 12 Aug 2026 17:25:51 +0200
| Newsgroups | org.kernel.vger.linux-tegra,org.kernel.vger.linux-kernel,org.kernel.vger.linux-serial |
|---|---|
| Message-ID | <[email protected]> |
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