diff options
author | Rob Herring <[email protected]> | 2023-03-10 08:47:35 -0600 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2023-03-30 23:36:35 +1100 |
commit | 87b626a66dd4ab7d5caf5199d98ec0b5953d73f8 (patch) | |
tree | 3df00293db9e3379a06a86e3f9307ca9d11d4e12 /tools/perf/scripts/python/syscall-counts.py | |
parent | 4d57e3515e3838b12eccbeb5e0e52f053e3f638a (diff) |
macintosh: 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]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://msgid.link/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions