gpio: davinci: use devm_platform_ioremap_resource()
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Wed, 20 Feb 2019 11:12:40 +0000 (12:12 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 21 Feb 2019 12:05:52 +0000 (13:05 +0100)
commitfa7569c8ff8ea68f69290e4c5b86a5828d565374
treeb6d167fec85d14d5bda37d7bd771b1a9e36f266d
parent7945f929f1a77a1c8887a97ca07f87626858ff42
gpio: davinci: 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: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-davinci.c