linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Unify gpiod_get*() API
@ 2017-01-09 14:02 Andy Shevchenko
  2017-01-09 14:02 ` [PATCH v2 1/3] gpiolib: Switch to for_each_set_bit() Andy Shevchenko
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Andy Shevchenko @ 2017-01-09 14:02 UTC (permalink / raw)
  To: Linus Walleij, Alexandre Courbot, linux-gpio, Mika Westerberg
  Cc: Andy Shevchenko

By some reason fwnode_get_named_gpiod() doesn't take flags as argument and each
caller has to cope with it.

Unify API here. Do couple obvious clean ups beforehand.

Since v1:
- append Mika's tags

Andy Shevchenko (3):
  gpiolib: Switch to for_each_set_bit()
  gpiolib: Update documentation of struct acpi_gpio_info
  gpiolib: Convert fwnode_get_named_gpiod() to configure GPIO

 drivers/gpio/devres.c                     |  9 ++++++--
 drivers/gpio/gpiolib-acpi.c               |  5 ++--
 drivers/gpio/gpiolib.c                    | 38 ++++++++++++++++++-------------
 drivers/gpio/gpiolib.h                    |  3 ++-
 drivers/input/keyboard/gpio_keys.c        |  9 +-------
 drivers/input/keyboard/gpio_keys_polled.c | 11 ++-------
 drivers/leds/leds-gpio.c                  |  2 +-
 drivers/video/fbdev/amba-clcd-nomadik.c   | 15 ++++--------
 include/linux/gpio/consumer.h             | 19 +++++++++++-----
 9 files changed, 55 insertions(+), 56 deletions(-)

-- 
2.11.0


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2017-01-17 15:13 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-09 14:02 [PATCH v2 0/3] Unify gpiod_get*() API Andy Shevchenko
2017-01-09 14:02 ` [PATCH v2 1/3] gpiolib: Switch to for_each_set_bit() Andy Shevchenko
2017-01-11 11:11   ` Linus Walleij
2017-01-09 14:02 ` [PATCH v2 2/3] gpiolib: Update documentation of struct acpi_gpio_info Andy Shevchenko
2017-01-11 11:11   ` Linus Walleij
2017-01-11 11:42     ` Andy Shevchenko
2017-01-09 14:02 ` [PATCH v2 3/3] gpiolib: Convert fwnode_get_named_gpiod() to configure GPIO Andy Shevchenko
2017-01-11 12:21   ` Linus Walleij
2017-01-11 13:35     ` Andy Shevchenko
2017-01-11 14:14       ` Andy Shevchenko
2017-01-12  7:27         ` Alexander Stein
2017-01-12 12:15           ` Andy Shevchenko
2017-01-12 12:51             ` Alexander Stein
2017-01-12 14:27               ` Andy Shevchenko
2017-01-17 15:05   ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).