OSDN Git Service

mailbox: qcom-apcs-ipc: Make use of the helper function devm_platform_ioremap_resource()
authorCai Huoqing <caihuoqing@baidu.com>
Tue, 7 Sep 2021 07:41:39 +0000 (15:41 +0800)
committerJassi Brar <jaswinder.singh@linaro.org>
Sat, 16 Oct 2021 19:39:49 +0000 (14:39 -0500)
commit78c6798c1bde0970ce995ae766b869a754ec785f
treedae06410374122287dd45a6425b49dc2bc6471f2
parentb5e3a1fe535dffce0d159035bdbf86970a012115
mailbox: qcom-apcs-ipc: Make use of the helper function devm_platform_ioremap_resource()

Use the devm_platform_ioremap_resource() helper instead of
calling platform_get_resource() and devm_ioremap_resource()
separately

Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/qcom-apcs-ipc-mailbox.c