Skip to content

mailbox: Provide devm variants for mbox_request_channel{,_byname}()

Uwe Kleine-König linux-serial linux-tegra lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mailbox: Provide devm variants for mbox_request_channel{,_byname}()drivers/mailbox/mailbox.c include/linux/mailbox_client.h+49 -01 reply
2/3serial: tegra-tcu: Make use of dev_err_probe() in .probe()drivers/tty/serial/tegra-tcu.c+10 -121 reply
3/3serial: tegra-tcu: Make use of devm_mbox_request_channel_byname()drivers/tty/serial/tegra-tcu.c+4 -81 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchPeng Fan
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH v1 0/3] mailbox: Provide devm variants for mbox_request_channel{,_byname}()

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

Signature · 1 line
2.47.3