diff options
author | Rob Herring <robh@kernel.org> | 2023-03-10 17:47:25 +0300 |
---|---|---|
committer | Nishanth Menon <nm@ti.com> | 2023-03-11 14:56:54 +0300 |
commit | 1b1b863a8898ad8348b7dfe812cab26cea9099bf (patch) | |
tree | a8870b96b09e26850bcb0ed0202ecdb3b32e0527 /scripts/gdb/linux/stackdepot.py | |
parent | 8f3c307b580a4a6425896007325bddefc36e8d91 (diff) | |
download | linux-1b1b863a8898ad8348b7dfe812cab26cea9099bf.tar.xz |
soc: ti: 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 <robh@kernel.org>
Signed-off-by: Nishanth Menon <nm@ti.com>
Link: https://lore.kernel.org/r/20230310144725.1545384-1-robh@kernel.org
Diffstat (limited to 'scripts/gdb/linux/stackdepot.py')
0 files changed, 0 insertions, 0 deletions