gpio: mlxbf2: Use DEFINE_RES_MEM_NAMED() helper macro
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 16 Aug 2021 11:59:51 +0000 (14:59 +0300)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 16 Aug 2021 19:21:24 +0000 (21:21 +0200)
commitd0ef631d40baa2be1951d122ca59d0cf6e39cf46
tree0a2045d630e49bb2fda405ec1af1ba510ecc58ec
parent4e6864f8563df318f1aac92f23d06210a2b3d15f
gpio: mlxbf2: Use DEFINE_RES_MEM_NAMED() helper macro

Use DEFINE_RES_MEM_NAMED() to save a couple of lines of code, which makes
the code a bit shorter and easier to read.

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