]> git.baikalelectronics.ru Git - kernel.git/commit
gpiolib: Extract gpio_set_config_with_argument_optional() helper
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 11 Nov 2020 18:49:30 +0000 (20:49 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 16 Nov 2020 12:14:34 +0000 (14:14 +0200)
commita95bfdff0b198a0a3fa1a8f67a4f77e5ef127000
tree4ac097cce70929b143bc1b7ae344a75417b14b6a
parent54f8f20f7d5c79019ac643ab6641cc6ecec23f54
gpiolib: Extract gpio_set_config_with_argument_optional() helper

This function is useful for internal use in the GPIO library.
There will be new user coming, prepare a helper for the new comer
and the existing ones.

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