of/gpio: Implement of_gpio_count()
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Fri, 5 Dec 2008 08:15:54 +0000 (08:15 +0000)
committerPaul Mackerras <paulus@samba.org>
Sun, 21 Dec 2008 03:21:14 +0000 (14:21 +1100)
commit749820928a2fd47ff536773d869d2c3f8038b7d1
tree69f7f37a63f9c194f33fb7a16d12f62b583da6c8
parent7736a3db98bed028d0e5235f8958a730acfd822e
of/gpio: Implement of_gpio_count()

This function is used to count how many GPIOs are specified for
a device node.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
drivers/of/gpio.c
include/linux/of_gpio.h