aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRob Herring <[email protected]>2023-03-10 14:47:01 +0000
committerStephen Boyd <[email protected]>2023-03-15 00:35:38 +0000
commitd02fddf24f984b977633c56e10653a8ff19e8c7b (patch)
tree7220585c1ecef76b47e61d64191e1e80697fbb71 /tools/perf/scripts/python
parentLinux 6.3-rc1 (diff)
downloadkernel-d02fddf24f984b977633c56e10653a8ff19e8c7b.tar.gz
kernel-d02fddf24f984b977633c56e10653a8ff19e8c7b.zip
clk: 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] Acked-by: Chunyan Zhang <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions