Skip to content
Commit c22e650e authored by Grant Likely's avatar Grant Likely
Browse files

of: Make of_find_node_by_path() handle /aliases



Make of_find_node_by_path() handle aliases as prefixes. To make this
work the name search is refactored to search by path component instead
of by full string. This should be a more efficient search, and it makes
it possible to start a search at a subnode of a tree.

Signed-off-by: default avatarDavid Daney <david.daney@cavium.com>
Signed-off-by: default avatarPantelis Antoniou <pantelis.antoniou@konsulko.com>
[grant.likely: Rework to not require allocating at runtime]
Acked-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarGrant Likely <grant.likely@linaro.org>
parent 0d0e02d6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment