mailbox: bcm-pdc: Use devm_platform_get_and_ioremap_resource()
authorYangtao Li <frank.li@vivo.com>
Tue, 4 Jul 2023 13:37:23 +0000 (21:37 +0800)
committerJassi Brar <jaswinder.singh@linaro.org>
Tue, 5 Sep 2023 15:10:42 +0000 (10:10 -0500)
commit84cd6480da24be6aa5fe4aac60e66eff429ef179
treeacee49c2ef550aacfad51ca1432273fa65f95f51
parent33d3bb9f9f1dd908919618b3badcdce301c9c361
mailbox: bcm-pdc: 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/bcm-pdc-mailbox.c