diff options
author | Rob Herring (Arm) <robh@kernel.org> | 2024-07-31 13:12:48 -0600 |
---|---|---|
committer | Rob Herring (Arm) <robh@kernel.org> | 2024-08-06 13:22:13 -0600 |
commit | 1c668ea65506e67ce2eae07b69bb09fcdd86e309 (patch) | |
tree | 4b2d81d6fcdcb634c44e7bd388b5122a219da814 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b31b9fb578783ee569d28325917821e7149e6f9b (diff) |
of: unittest: Use of_property_present()
Use of_property_present() to test for property presence rather than
of_find_property(). This is part of a larger effort to remove callers
of of_find_property() and similar functions. of_find_property() leaks
the DT struct property and data pointers which is a problem for
dynamically allocated nodes which may be freed.
Link: https://lore.kernel.org/r/20240731191312.1710417-10-robh@kernel.org
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