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:05 -0600
committerRob Herring <[email protected]>2023-03-28 14:55:33 -0500
commit7fa5047a436ba27696e344d974811d9ea07ba249 (patch)
tree2d9706db2b45654aa6fc072009744c0eb3467d81 /tools/perf/scripts/python/arm-cs-trace-disasm.py
parent981f8866754dc5aec6864b877acb248dc33a7bc8 (diff)
drm: 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. Reviewed-by: Jernej Skrabec <[email protected]> Reviewed-by: Liu Ying <[email protected]> # i.MX bridge Reviewed-by: Dmitry Baryshkov <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions