diff options
author | 2023-03-10 08:46:59 -0600 | |
---|---|---|
committer | 2023-04-18 11:23:21 -0500 | |
commit | 6a71ca744bb52d222f821c6239aa44ffa16e5937 (patch) | |
tree | 28e4c5ab1d3067f7416b69b9ffbf869287765b33 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bus: mvebu-mbus: Remove open coded "ranges" parsing (diff) | |
download | wireguard-linux-6a71ca744bb52d222f821c6239aa44ffa16e5937.tar.xz wireguard-linux-6a71ca744bb52d222f821c6239aa44ffa16e5937.zip |
sparc: 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.
Link: https://lore.kernel.org/r/20230310144659.1541247-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions