commit | 22ac74a6194798ce131c55ff0dfbb9697650e626 | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <yamada.masahiro@socionext.com> | Thu Sep 05 12:45:32 2019 +0900 |
committer | Wolfram Sang <wsa@the-dreams.de> | Thu Sep 05 22:33:25 2019 +0200 |
tree | fd98755d375199f5c4efa71bd41c502cede58031 | |
parent | fe050f99072d6b5175c35427a6f72846790441ec [diff] |
i2c: uniphier(-f): use devm_platform_ioremap_resource() Replace the chain of platform_get_resource() and devm_ioremap_resource() with devm_platform_ioremap_resource(). This allows to remove the local variable for (struct resource *), and have one function call less. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>