of_gpio: add support of of_gpio_named_count to be able to count named gpio
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Thu, 2 Feb 2012 15:20:01 +0000 (16:20 +0100)
committerGrant Likely <grant.likely@secretlab.ca>
Mon, 6 Feb 2012 06:08:30 +0000 (23:08 -0700)
commitff64abefb6680dfc2aca7ecaa5e695949e7335c9
tree8e580bc26cb65edf3135b25e29ddf8f77d776569
parent9467d298e92455e6fd411d7ef1f367ced940587c
of_gpio: add support of of_gpio_named_count to be able to count named gpio

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: devicetree-discuss@lists.ozlabs.org
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/of/gpio.c
include/linux/of_gpio.h