diff options
author | Zijun Hu <quic_zijuhu@quicinc.com> | 2025-02-24 22:27:57 +0800 |
---|---|---|
committer | Rob Herring (Arm) <robh@kernel.org> | 2025-02-25 08:42:43 -0600 |
commit | 56d733bb8f99a572e3b35a307057e019c1974026 (patch) | |
tree | 3ea093599bd7c880ec31d38a104805512837e6ef /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a46a0805635d07de50c2ac71588345323c13b2f9 (diff) |
of: Compare property names by of_prop_cmp() in of_alias_scan()
For these pseudo property names 'name', 'phandle' and 'linux,phandle':
Use dedicated property name comparison macro of_prop_cmp() instead of
strcmp() in of_alias_scan() to:
- Make property name comparison consistent.
- Prepare for introducing private is_pseudo_property() later.
Signed-off-by: Zijun Hu <quic_zijuhu@quicinc.com>
Link: https://lore.kernel.org/r/20250224-of_bugfix-v1-1-03640ae8c3a6@quicinc.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions