diff options
| author | Rob Herring (Arm) <robh@kernel.org> | 2024-08-28 16:00:55 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2024-08-28 23:52:45 +0300 |
| commit | dd72a3b8a6007b44ed3b85e1d606afc434879e70 (patch) | |
| tree | d82253180568dd899ea9030d4f4e34d407571215 /tools/perf/scripts/python/task-analyzer.py | |
| parent | 7540bd3398675e54cbd7324c47be8cd3c7a6d9c5 (diff) | |
| download | linux-dd72a3b8a6007b44ed3b85e1d606afc434879e70.tar.xz | |
regulator: qcom_spmi: Use of_property_read_bool()
Use of_property_read_bool() to read boolean properties 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 property pointer which is a problem for dynamically allocated
nodes which may be freed.
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20240828130056.3481050-2-robh@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
