[PATCH 0/2] gpiolib: gpio_set_config() cleanups
From: Geert Uytterhoeven
Date: Wed Mar 25 2020 - 06:04:49 EST
Hi Linus, Bartosz,
This patch sets reworks the parameters for gpio_set_config() and
gpio_set_bias(), which simplifies callers, and slightly reduces the
number of lines of code.
Thanks for your comments!
Geert Uytterhoeven (2):
gpiolib: Pass gpio_desc to gpio_set_config()
gpiolib: Remove unused gpio_chip parameter from gpio_set_bias()
drivers/gpio/gpiolib.c | 25 ++++++++++---------------
1 file changed, 10 insertions(+), 15 deletions(-)
--
2.17.1
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds