gpio: vr41xx: Use devm_platform_ioremap_resource()
authorEnrico Weigelt, metux IT consult <info@metux.net>
Mon, 17 Jun 2019 16:49:20 +0000 (18:49 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 27 Jun 2019 14:56:51 +0000 (15:56 +0100)
commitc7d0ca24fd978ac047db67dd961788e62c0e8ba2
treee315291ca177745ec98616b426b3db60d7cc352e
parent5272856533776260d997c8280dad69b1eac40994
gpio: vr41xx: Use devm_platform_ioremap_resource()

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

this driver deserves a bit more cleanup, to get rid of the global
variable giu_base, which makes it single-instance-only.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-vr41xx.c