diff options
author | Rob Herring <[email protected]> | 2023-03-10 08:47:01 -0600 |
---|---|---|
committer | Stephen Boyd <[email protected]> | 2023-03-14 17:35:38 -0700 |
commit | d02fddf24f984b977633c56e10653a8ff19e8c7b (patch) | |
tree | 7220585c1ecef76b47e61d64191e1e80697fbb71 /scripts/gdb | |
parent | fe15c26ee26efa11741a7b632e9f23b01aca4cc6 (diff) |
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 'scripts/gdb')
0 files changed, 0 insertions, 0 deletions