]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3fa234e2dcd47b04b62d12698c370d2a67a72b08
treeb6d167fec85d14d5bda37d7bd771b1a9e36f266d
parentb34090fe1a091eebe541df9e6099059dd51fe5ed
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