mailbox: platform-mhu: Use device-managed registration API
authorThierry Reding <treding@nvidia.com>
Thu, 20 Dec 2018 17:19:58 +0000 (18:19 +0100)
committerJassi Brar <jaswinder.singh@linaro.org>
Fri, 21 Dec 2018 22:49:25 +0000 (16:49 -0600)
commit85a555246e6db7b4e9803704e1e0c694dfe658a0
tree70055b17f457f5aeb8c5bcf87d0085d1eb193508
parenta3abf4363c7ec8f980a0ac1c880e2627349d8626
mailbox: platform-mhu: Use device-managed registration API

Get rid of some boilerplate driver removal code by using the newly added
device-managed registration API.

Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/platform_mhu.c