drivers: gpio: loongon1: use devm_platform_ioremap_resource()
authorEnrico Weigelt, metux IT consult <info@metux.net>
Mon, 11 Mar 2019 18:54:56 +0000 (19:54 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 4 Apr 2019 17:04:26 +0000 (00:04 +0700)
commit62fe072a24e2a6520802cbc57bd2943e0ab8f640
tree8364a927bd00daadbfeea6769e4fd64278747996
parent38b1e6805e1d134b3966e283013695af586e09e9
drivers: gpio: loongon1: 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>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-loongson1.c