diff options
author | Rob Herring (Arm) <robh@kernel.org> | 2024-07-31 13:12:41 -0600 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2024-08-01 09:40:35 +0200 |
commit | b034a90b2745e43b4a85b56dc5fd7a6fa1a21f31 (patch) | |
tree | 52ce1d757e86316b689968c1ee6b49f6b6ff1e66 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | ac93ca125b5409df56c5139648bbe10fd1ea989b (diff) |
gpio: 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.
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20240731191312.1710417-3-robh@kernel.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions