[PATCH V2 0/5] gpio: of: Add error handling and support for multiple gpio in gpio-hog

From: Laxman Dewangan
Date: Fri Mar 11 2016 - 08:56:39 EST


This series enhance the error print by adding error number in print message,
handle the error if gpio_hogd() fails and returns error to caller, and
add the support of multiple GPIOs to be passed from property "gpios" under
gpio hogd node.

Changes from V1:
- revert the chnage of error message.
- Collected acks/reviewed by.
- Added label for name in gpio hog node.
- Reseeunce to have dt doc before driver change.

Laxman Dewangan (5):
gpio: of: Scan available child node for gpio-hog
gpio: gpiolib: Print error number if gpio hog failed
gpio: of: Return error if gpio hog configuration failed
gpio: DT: Rephrase "gpios" of hog node to support multiple gpios
gpio: of: Add support to have multiple gpios in gpio-hog

Documentation/devicetree/bindings/gpio/gpio.txt | 11 +++-
drivers/gpio/gpiolib-of.c | 86 +++++++++++++++++++------
drivers/gpio/gpiolib.c | 11 ++--
3 files changed, 79 insertions(+), 29 deletions(-)

--
2.1.4