diff options
| author | Rob Herring <[email protected]> | 2023-03-10 08:47:26 -0600 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-03-16 13:02:11 +0100 |
| commit | ef194140308776be60dd4601bd01c00c84fb8b39 (patch) | |
| tree | a035b982cabdd9dcb6265e8a6f78161b537c528e /tools/perf/scripts/python/Perf-Trace-Util | |
| parent | 571079f5ba93f08ac2563d40e46d42d56615c096 (diff) | |
serial: Use of_property_present() for testing DT property presence
It is preferred to use typed property access functions (i.e.
of_property_read_<type> functions) rather than low-level
of_get_property/of_find_property functions for reading properties. As
part of this, convert of_get_property/of_find_property calls to the
recently added of_property_present() helper when we just want to test
for presence of a property and nothing more.
Signed-off-by: Rob Herring <[email protected]>
Acked-by: Uwe Kleine-König <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util')
0 files changed, 0 insertions, 0 deletions