drivers: gpio: sprd: use devm_platform_ioremap_resource()
authorEnrico Weigelt, metux IT consult <info@metux.net>
Mon, 11 Mar 2019 18:55:08 +0000 (19:55 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 4 Apr 2019 17:04:26 +0000 (00:04 +0700)
commit94a2d4279924ca65df513cb5dbac803607f7279d
tree7195571c35aba00f4be7fd3ca95bea2af04fdb63
parent2a7194e9759586dea43f3b76b2bf37c31e771726
drivers: gpio: sprd: use devm_platform_ioremap_resource()

Use the new helper that wraps the calls to platform_get_resource()
and devm_ioremap_resource() together.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Reviewed-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-sprd.c