mailbox: armada-37xx-rwtm: Use device-managed registration API
authorChuhong Yuan <hslester96@gmail.com>
Mon, 22 Jul 2019 13:37:23 +0000 (21:37 +0800)
committerJassi Brar <jaswinder.singh@linaro.org>
Tue, 17 Sep 2019 05:38:43 +0000 (00:38 -0500)
commit2b983d124a060b7f2d0b6e53b4170c0e2b5c883c
treec8597553f691d3a7826ae82525147db5508966b1
parentf74c2bb98776e2de508f4d607cd519873065118e
mailbox: armada-37xx-rwtm: Use device-managed registration API

Use devm_mbox_controller_register to get rid of
redundant remove function.

Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/armada-37xx-rwtm-mailbox.c