diff options
author | Masahiro Yamada <[email protected]> | 2019-09-05 12:21:22 +0900 |
---|---|---|
committer | Arnd Bergmann <[email protected]> | 2019-09-05 17:57:18 +0200 |
commit | ef92bfdaa7123bc8bdaed3f0f6e008500dd555da (patch) | |
tree | ef7ded1be08e93152363910f5d19c6c945d21eaa /net/switchdev/switchdev.c | |
parent | b8580b283197cf6c355b0ccc8128777dcf8375d4 (diff) |
bus: uniphier-system-bus: 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.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Masahiro Yamada <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions