hwspinlock: u8500_hsem: Change to use devm_platform_ioremap_resource()
authorBaolin Wang <baolin.wang@linaro.org>
Fri, 27 Sep 2019 08:27:41 +0000 (16:27 +0800)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Sat, 5 Oct 2019 03:20:18 +0000 (20:20 -0700)
commit5ee45e0c894636243361fdbaa17828fa00dc7f3a
treed72ccef77001bef55984667122ba6085ebefe0ae
parenteecff9a8427a391911accfd077368baeda45c540
hwspinlock: u8500_hsem: Change to use devm_platform_ioremap_resource()

Use the new helper that wraps the calls to platform_get_resource()
and devm_ioremap_resource() together, which can simpify the code.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/hwspinlock/u8500_hsem.c