of: find_node_by_full_name rewrite to compare each level
authorRob Herring <robh@kernel.org>
Fri, 2 Jun 2017 17:43:18 +0000 (12:43 -0500)
committerRob Herring <robh@kernel.org>
Thu, 22 Jun 2017 17:38:29 +0000 (12:38 -0500)
commit27497e11b56a072dfd80e9f1f229049b2921a1a6
tree99a9bcbc25e186d8f8644945e6fc865e02a60b01
parent95e6b1fa3311c8a7b151d38540695409048d1495
of: find_node_by_full_name rewrite to compare each level

find_node_by_full_name() does the same thing as of_find_node_by_path(),
but takes no locks and doesn't work on aliases. Refactor
of_find_node_opts_by_path() into __of_find_node_by_full_path() and
replace find_node_by_full_name() with it.

Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/base.c
drivers/of/of_private.h
drivers/of/resolver.c