Re: [PATCH 0/2] gpiolib: gpio_set_config() cleanups
From: Bartosz Golaszewski
Date: Wed Mar 25 2020 - 08:54:43 EST
År., 25 mar 2020 o 11:04 Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
napisaÅ(a):
>
> 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
Both look good to me.
Reviewed-by: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>