diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-09-05 12:41:33 +0900 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2019-10-11 15:45:41 +0530 |
commit | 5b3e3606ab06fc8a8158d01bee07b8aa1c6068e9 (patch) | |
tree | 48759008cce0bca7ad1d13f5d62789037f653dc7 /drivers/pwm | |
parent | 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c (diff) |
dmaengine: uniphier-mdmac: 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>
Link: https://lore.kernel.org/r/20190905034133.29514-1-yamada.masahiro@socionext.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/pwm')
0 files changed, 0 insertions, 0 deletions