diff options
author | Rob Herring (Arm) <robh@kernel.org> | 2024-07-31 22:12:41 +0300 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2024-08-01 10:40:35 +0300 |
commit | b034a90b2745e43b4a85b56dc5fd7a6fa1a21f31 (patch) | |
tree | 52ce1d757e86316b689968c1ee6b49f6b6ff1e66 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ac93ca125b5409df56c5139648bbe10fd1ea989b (diff) | |
download | linux-b034a90b2745e43b4a85b56dc5fd7a6fa1a21f31.tar.xz |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions