OSDN Git Service

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