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

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

Tested-by: Leo Yan <leo.yan@linaro.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/hi3660-mailbox.c