aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/arm-cs-trace-disasm.py
diff options
context:
space:
mode:
authorRob Herring <[email protected]>2023-03-10 08:47:20 -0600
committerVinod Koul <[email protected]>2023-03-20 18:14:58 +0530
commit8e9930e14d040bde33a11a62eee8c3c6981c7126 (patch)
treed75bd46d91afef5d81894c6629191e2835a89535 /tools/perf/scripts/python/arm-cs-trace-disasm.py
parenta01c9d19422e486578d7cfdf799e464025417eab (diff)
phy: 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]> Reviewed-by: Jernej Skrabec <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions