[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1485790909-2915-1-git-send-email-boris.brezillon@free-electrons.com>
Date: Mon, 30 Jan 2017 16:41:47 +0100
From: Boris Brezillon <boris.brezillon@...e-electrons.com>
To: Linus Walleij <linus.walleij@...aro.org>,
Alexandre Courbot <gnurou@...il.com>,
linux-gpio@...r.kernel.org
Cc: Dmitry Torokhov <dmitry.torokhov@...il.com>,
linux-input@...r.kernel.org, Bryan Wu <cooloney@...il.com>,
Richard Purdie <rpurdie@...ys.net>,
Jacek Anaszewski <j.anaszewski@...sung.com>,
linux-leds@...r.kernel.org, Tomi Valkeinen <tomi.valkeinen@...com>,
linux-fbdev@...r.kernel.org, linux-kernel@...r.kernel.org,
Russell King <linux@...linux.org.uk>,
Boris Brezillon <boris.brezillon@...e-electrons.com>
Subject: [PATCH 0/2] gpio: Add the devm_fwnode_get_index_gpiod_from_child() helper
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
Powered by blists - more mailing lists