commit | 5bc486156d840c15fb65c96da24f20687a07b2a4 | [log] [tgz] |
---|---|---|
author | Kunihiko Hayashi <hayashi.kunihiko@socionext.com> | Mon May 11 17:25:30 2020 +0900 |
committer | Mark Brown <broonie@kernel.org> | Mon May 11 18:17:52 2020 +0100 |
tree | 8db1962e9e677aa9c4413eca3f9823c7dbd6d786 | |
parent | 6a091404bf95f1e17d4ad149f1c010a9360e88ba [diff] |
spi: uniphier: Use devm_platform_get_and_ioremap_resource() to simplify code Use devm_platform_get_and_ioremap_resource() to simplify code instead of platform_get_resource() and devm_ioremap_resource(). This also gets the resource that the following code uses. Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com> Link: https://lore.kernel.org/r/1589185530-28170-2-git-send-email-hayashi.kunihiko@socionext.com Signed-off-by: Mark Brown <broonie@kernel.org>