diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-09-05 12:45:32 +0900 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2019-09-05 22:33:25 +0200 |
commit | 22ac74a6194798ce131c55ff0dfbb9697650e626 (patch) | |
tree | fd98755d375199f5c4efa71bd41c502cede58031 /usr | |
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>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions