diff options
author | Grant Likely <grant.likely@linaro.org> | 2014-03-14 17:07:12 +0000 |
---|---|---|
committer | Grant Likely <grant.likely@linaro.org> | 2014-05-23 11:35:06 +0900 |
commit | c22e650e66b862babe9c00bebb20b8029c7b0362 (patch) | |
tree | 21c0c5115af3cb4cec650b818d1ec03839a0fe0b /tools/perf/scripts/python | |
parent | 0d0e02d605c5696a5076510f564fefe659127aa4 (diff) |
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: David Daney <david.daney@cavium.com>
Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
[grant.likely: Rework to not require allocating at runtime]
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Grant Likely <grant.likely@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions