commit | bf2740068a87e258ccc695d366c8a2c05b46de71 | [log] [tgz] |
---|---|---|
author | Baolin Wang <baolin.wang7@gmail.com> | Wed Jan 08 11:13:59 2020 +0800 |
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | Tue Jan 21 16:11:11 2020 -0800 |
tree | 378c3ad50f1978e7d76aa4684d464f59efff7225 | |
parent | ed0611a604297a642c3fbec86d3482d580b4f764 [diff] |
hwspinlock: omap: 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. Meanwhile renaming the error label to make more sense after removing iounmap(). Signed-off-by: Baolin Wang <baolin.wang7@gmail.com> Link: https://lore.kernel.org/r/6c09c5034a7e68fdfc22d2cb5daa375bccb33a66.1578453062.git.baolin.wang7@gmail.com Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>