OSDN Git Service

mailbox: altera: Make use of the helper function devm_platform_ioremap_resource()
authorCai Huoqing <caihuoqing@baidu.com>
Tue, 7 Sep 2021 07:40:48 +0000 (15:40 +0800)
committerJassi Brar <jaswinder.singh@linaro.org>
Sat, 16 Oct 2021 19:39:48 +0000 (14:39 -0500)
commit218f22b28772901d633ccab397c4896a492ef0e1
tree242e479db3bc15b87c8a2e4f915998ab82888f75
parent6985c40ab6c5d63a494ce9adce9a4768364f2507
mailbox: altera: 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/mailbox-altera.c