drivers: gpio: mt7621: use devm_platform_ioremap_resource()
authorEnrico Weigelt, metux IT consult <info@metux.net>
Mon, 11 Mar 2019 18:54:59 +0000 (19:54 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 4 Apr 2019 17:04:27 +0000 (00:04 +0700)
commit92d718fd47749ed79a3823947690dede1fd673cc
treef3a0ab8f70cd26a6bb3448a753f03ea2dd4d5eb9
parent329e23f9bc0a28fc58e3910b100358309a2d3156
drivers: gpio: mt7621: 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: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-mt7621.c