[PATCH 0/3] gpiolib: fix a regression introduced by gpio_do_set_config()

From: Bartosz Golaszewski
Date: Mon Feb 03 2020 - 08:30:37 EST


From: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>

These three patches fix a regression introduced by commit d90f36851d65
("gpiolib: have a single place of calling set_config()"). We first need
to revert patches that came on top of it, then apply the actual fix.

Bartosz Golaszewski (3):
Revert "gpiolib: Remove duplicated function gpio_do_set_config()"
Revert "gpiolib: remove set but not used variable 'config'"
gpiolib: fix gpio_do_set_config()

drivers/gpio/gpiolib.c | 31 ++++++++++++++++++++++++++-----
1 file changed, 26 insertions(+), 5 deletions(-)

--
2.23.0