summaryrefslogtreecommitdiffstats
path: root/drivers/mailbox/arm_mhu.c
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2018-12-20 18:19:44 +0100
committerJassi Brar <jaswinder.singh@linaro.org>2018-12-21 16:49:25 -0600
commite898d9cdd3a9f105863d63dd3b46443742a4757c (patch)
tree48a3a80b84cc3a18b1589454d129c8b70cf18841 /drivers/mailbox/arm_mhu.c
parente2affdbef2aca880f4b9e758779c72540db5f168 (diff)
mailbox: Add device-managed registration functions
Add device-managed equivalents of the mbox_controller_register() and mbox_controller_unregister() functions that can be used to have the devres infrastructure automatically unregister mailbox controllers on driver probe failure or driver removal. This can help remove a lot of boiler plate code from drivers. Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> Reviewed-by: Sudeep Holla <sudeep.holla@arm.com> Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Diffstat (limited to 'drivers/mailbox/arm_mhu.c')
0 files changed, 0 insertions, 0 deletions