of: Add new helper of_parse_phandles_with_args()
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Fri, 10 Oct 2008 04:43:17 +0000 (04:43 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sun, 12 Oct 2008 23:55:47 +0000 (10:55 +1100)
commit64b60e096fa391c56f93e6216115e6757bf86b7e
tree901a0fa1f9f533fe81305341fa869c34a1e913a9
parent302905a3473d9a1f00e4b2fe373d2763a041a93d
of: Add new helper of_parse_phandles_with_args()

The helper is factored out of of_get_gpio(). Will be used by the QE
pin multiplexing functions (they need to parse the gpios = <> too).

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/of/base.c
drivers/of/gpio.c
include/linux/of.h