summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2023-03-10 08:47:08 -0600
committerGeorgi Djakov <djakov@kernel.org>2023-03-20 16:42:27 +0200
commit213913ff2b89ab5ba76aceba24198b217e8e325c (patch)
tree639b85df84478519153afef796e687dc6b7465dc /tools/perf/scripts/python
parentf730038fe6a6de170268fd779b2c029aa70a928b (diff)
interconnect: 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/20230310144709.1542841-1-robh@kernel.org Signed-off-by: Georgi Djakov <djakov@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions