gpiolib: Extract gpio_set_config_with_argument() for future use
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 9 Nov 2020 20:53:20 +0000 (22:53 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 16 Nov 2020 12:14:34 +0000 (14:14 +0200)
commit0c4d86663ba134cfe216eec5dd2c1ed3d52767e6
treee01e669ce5647b26bafa23a9db02efe3a51d710a
parent8b69461c2b7c801e37259dc6e71b126c23c3f20d
gpiolib: Extract gpio_set_config_with_argument() for future use

In the future we will need to have a separate function
that takes an arbitrary argument value.

Extract gpio_set_config_with_argument() for that purpose.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/gpio/gpiolib.c