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

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

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/bcm-pdc-mailbox.c