mbox series

[0/2] gpiolib: gpio_set_config() cleanups

Message ID 20200325100357.13705-1-geert+renesas@glider.be
Headers show
Series gpiolib: gpio_set_config() cleanups | expand

Message

Geert Uytterhoeven March 25, 2020, 10:03 a.m. UTC
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(-)