lkml.org 
[lkml]   [2017]   [Jan]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] gpio: Add the devm_fwnode_get_index_gpiod_from_child() helper
Date
Hello Linus,

I send these 2 patches separately from the Atmel NAND driver rework
since these are self-contained and do not have any external
dependencies.

Feel free to apply them in your tree if you are happy with this
version and once other subsystem maintainers have acked patch 1.

Thanks,

Boris

---
Changes since v1:
- Rename the devm_get_gpiod_from_child() helper into
devm_fwnode_get_gpiod_from_child()
- Define as a static inline wrapper around
devm_fwnode_get_gpiod_from_child()

Boris Brezillon (2):
gpio: Rename devm_get_gpiod_from_child()
gpio: Add the devm_fwnode_get_index_gpiod_from_child() helper

drivers/gpio/devres.c | 14 ++++++++------
drivers/gpio/gpiolib.c | 9 +++++----
drivers/input/keyboard/gpio_keys.c | 3 ++-
drivers/input/keyboard/gpio_keys_polled.c | 5 +++--
drivers/leds/leds-gpio.c | 2 +-
drivers/video/fbdev/amba-clcd-nomadik.c | 8 ++++----
include/linux/gpio/consumer.h | 23 ++++++++++++++++-------
7 files changed, 39 insertions(+), 25 deletions(-)

--
2.7.4

\
 
 \ /
  Last update: 2017-01-30 16:44    [W:0.068 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site