diff options
author | Rob Herring (Arm) <robh@kernel.org> | 2024-07-31 13:12:54 -0600 |
---|---|---|
committer | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2024-08-04 11:09:06 +0200 |
commit | aa85d45338692e8b29b0c023826c404c3e7113a6 (patch) | |
tree | 855ce2d88414efca95570d96730364fbed376e4c /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 8400291e289ee6b2bf9779ff1c83a291501f017b (diff) |
pinctrl: samsung: 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-16-robh@kernel.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions