OSDN Git Service

mailbox: ti-msgmgr: Use devm_platform_ioremap_resource_byname()
authorLi Zetao <lizetao1@huawei.com>
Tue, 1 Aug 2023 08:51:07 +0000 (16:51 +0800)
committerJassi Brar <jaswinder.singh@linaro.org>
Tue, 5 Sep 2023 15:10:42 +0000 (10:10 -0500)
commit4aac24c105951fd2d3faeed05f70d4be7af3d26c
treef9d914af0b5f6003d5aac3327e0ede81387e22b0
parent65d9aa3191432ec672f32291b047a00fe67d71cc
mailbox: ti-msgmgr: Use devm_platform_ioremap_resource_byname()

Convert platform_get_resource_byname() + devm_ioremap_resource() to a
single call to devm_platform_ioremap_resource_byname(), as this is
exactly what this function does.

Signed-off-by: Li Zetao <lizetao1@huawei.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/ti-msgmgr.c