gpio: eic-sprd: Use devm_platform_ioremap_resource()
authorEnrico Weigelt, metux IT consult <info@metux.net>
Mon, 17 Jun 2019 16:49:16 +0000 (18:49 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 27 Jun 2019 14:56:51 +0000 (15:56 +0100)
commit0f5cb8cc27a266c81e6523b436479802e9aafc9e
tree78d0500028335251a0af41f31e7c6fba74a2b273
parentc7d0ca24fd978ac047db67dd961788e62c0e8ba2
gpio: eic-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-eic-sprd.c