gpio: mlxbf2: Use devm_platform_ioremap_resource()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 16 Aug 2021 11:59:50 +0000 (14:59 +0300)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 16 Aug 2021 19:21:07 +0000 (21:21 +0200)
commit4e6864f8563df318f1aac92f23d06210a2b3d15f
tree4e8bb7adb977ff5b8c81108901a187ad8f3b3d17
parent603607e70e3626e6ceb3ddec86e2a060c6cd6191
gpio: mlxbf2: Use devm_platform_ioremap_resource()

Simplify the platform_get_resource() and devm_ioremap_resource()
calls with devm_platform_ioremap_resource().

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Asmaa Mnebhi <asmaa@nvidia.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
drivers/gpio/gpio-mlxbf2.c