aboutsummaryrefslogtreecommitdiff
path: root/scripts/bpf_doc.py
diff options
context:
space:
mode:
authorRob Herring <[email protected]>2023-03-10 08:46:59 -0600
committerRob Herring <[email protected]>2023-04-18 11:23:21 -0500
commit6a71ca744bb52d222f821c6239aa44ffa16e5937 (patch)
tree28e4c5ab1d3067f7416b69b9ffbf869287765b33 /scripts/bpf_doc.py
parent6bb1504d5fe10e4ccf0b5318525948c86d5aa915 (diff)
sparc: 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. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions