of: Introduce struct of_phandle_iterator
authorJoerg Roedel <jroedel@suse.de>
Mon, 4 Apr 2016 15:49:17 +0000 (17:49 +0200)
committerRob Herring <robh@kernel.org>
Tue, 19 Apr 2016 22:25:13 +0000 (17:25 -0500)
commit74e1fbb1375a3ede3e17da22911761ce9bc8f53f
treec8266f60cd6920751d20c5d8d136e4be57bab2b7
parent34b82026a507ec0092398d9fc7893c00dd11b7da
of: Introduce struct of_phandle_iterator

This struct carrys all necessary information to iterate over
a list of phandles and extract the arguments. Add an
init-function for the iterator and make use of it in
__of_parse_phandle_with_args().

Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/base.c
include/linux/of.h