mailbox: stm32-ipcc: Use device-managed registration API
authorThierry Reding <treding@nvidia.com>
Thu, 20 Dec 2018 17:20:01 +0000 (18:20 +0100)
committerJassi Brar <jaswinder.singh@linaro.org>
Fri, 21 Dec 2018 22:49:26 +0000 (16:49 -0600)
commit368d7767b50154eb052938a13494879b00135ed3
treeea3b0a570fbb4094c9d6ab5b79ea11eb8c1e5b53
parent08f2f88a3bbf3cdfdf3b890159d45519e2d5bbeb
mailbox: stm32-ipcc: Use device-managed registration API

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

Reviewed-by: Ludovic Barre <ludovic.barre@st.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/stm32-ipcc.c