OSDN Git Service

drivers: gpio: sta2x11: use devm_platform_ioremap_resource()
authorEnrico Weigelt, metux IT consult <info@metux.net>
Mon, 11 Mar 2019 18:55:09 +0000 (19:55 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 4 Apr 2019 17:04:27 +0000 (00:04 +0700)
commitc68a520f6a05eef09fb64784625f38b6caf1c93c
treeeacfdc8ab9bba7ab570039fbb7426da4d40431cd
parent7290f152fecc2db1f6262e040f457b723bba8aa1
drivers: gpio: sta2x11: 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-sta2x11.c