OF: base: sync of_find_node_by_path with linux OF API
Barebox of_find_node_by_path requires a node to be passed as start node
to start searching. Linux OF API does not pass this node and no current
user of it in barebox is passing anything else than the root node.
Therefore, we rename current function to of_find_node_by_path_from and
introduce a Linux OF API compatible of_find_node_by_path that always
passes the current root_node. Also, all current users of that function
are updated to reflect the API change.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 905f3ee commit 0b79c3bb641857f5045a42f55f0b90d160706425
@Sebastian Hesselbarth Sebastian Hesselbarth authored on 13 Jun 2013
Sascha Hauer committed on 20 Jun 2013
Showing 8 changed files
View
arch/arm/boards/highbank/init.c
View
arch/ppc/mach-mpc5xxx/cpu.c
View
commands/of_node.c
View
commands/of_property.c
View
commands/oftree.c
View
common/oftree.c
View
drivers/of/base.c
View
include/of.h