summaryrefslogtreecommitdiffstats
path: root/drivers/soc/amlogic/meson-ee-pwrc.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-09-05 12:21:22 +0900
committerArnd Bergmann <arnd@arndb.de>2019-09-05 17:57:18 +0200
commitef92bfdaa7123bc8bdaed3f0f6e008500dd555da (patch)
treeef7ded1be08e93152363910f5d19c6c945d21eaa /drivers/soc/amlogic/meson-ee-pwrc.c
parentb8580b283197cf6c355b0ccc8128777dcf8375d4 (diff)
downloadblackbird-op-linux-ef92bfdaa7123bc8bdaed3f0f6e008500dd555da.tar.gz
blackbird-op-linux-ef92bfdaa7123bc8bdaed3f0f6e008500dd555da.zip
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/20190905032122.26076-1-yamada.masahiro@socionext.com Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/soc/amlogic/meson-ee-pwrc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud