aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRob Herring <[email protected]>2023-03-10 08:47:21 -0600
committerMark Brown <[email protected]>2023-03-11 12:13:38 +0000
commit7dda20c97fac52948b948e15e1173ee57c66ed35 (patch)
tree79d21149869276b9fa9eb85ca83ae5fe1264894c /tools/perf/scripts/python
parent4eb6678ab53cac74e71fc5d4e6ff4035e5c847b6 (diff)
regulator: 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]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions