mailbox: rockchip: Use devm_platform_get_and_ioremap_resource()
authorYangtao Li <frank.li@vivo.com>
Tue, 4 Jul 2023 13:37:25 +0000 (21:37 +0800)
committerJassi Brar <jaswinder.singh@linaro.org>
Tue, 5 Sep 2023 15:10:42 +0000 (10:10 -0500)
commit840f68226fcbca709ef2241490632f43e1c27fc4
tree86a49e02697a872e3526591eb4febf4d62f9a5c3
parentf7fdb53cd2e1f39324042fd78c50f998c4ca95dc
mailbox: rockchip: Use devm_platform_get_and_ioremap_resource()

Convert platform_get_resource(), devm_ioremap_resource() to a single
call to devm_platform_get_and_ioremap_resource(), as this is exactly
what this function does.

Signed-off-by: Yangtao Li <frank.li@vivo.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/rockchip-mailbox.c