diff options
author | 2023-03-10 20:26:21 -0800 | |
---|---|---|
committer | 2023-03-17 04:17:30 -0700 | |
commit | eaedf192f65fc4e3e2001b8e09940386cc494bd5 (patch) | |
tree | bbf96fa35bad90f2508f5c59bc316ee731d5c923 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Input: Use of_property_read_bool() for boolean properties (diff) | |
download | wireguard-linux-eaedf192f65fc4e3e2001b8e09940386cc494bd5.tar.xz wireguard-linux-eaedf192f65fc4e3e2001b8e09940386cc494bd5.zip |
Input: zinitix - 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 <robh@kernel.org>
Link: https://lore.kernel.org/r/20230310144708.1542682-1-robh@kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions