diff options
author | Rob Herring (Arm) <robh@kernel.org> | 2024-08-08 11:06:44 -0600 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2024-08-12 18:16:40 -0400 |
commit | fd9cb9615fca4fa322a43eeecbd71d4de1ba146a (patch) | |
tree | 14a74ba729e4d83241f9c6e59db5435673cfc129 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ea6787c695ab7595d851c3506f67c157f3b593c0 (diff) |
scsi: ufs: ufshcd-pltfrm: 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/20240808170644.1436991-1-robh@kernel.org
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions