drivers: gpio: janz-ttl: use devm_platform_ioremap_resource()
authorEnrico Weigelt, metux IT consult <info@metux.net>
Mon, 11 Mar 2019 18:54:54 +0000 (19:54 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 4 Apr 2019 17:04:26 +0000 (00:04 +0700)
commit38b1e6805e1d134b3966e283013695af586e09e9
treefc9c93aa36d58f5e23854bcaa46398dd21b84491
parent30f8c521000213db30fca8afac4175e428509fe7
drivers: gpio: janz-ttl: 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-janz-ttl.c