diff options
author | 2023-03-10 08:47:23 -0600 | |
---|---|---|
committer | 2023-04-14 14:58:50 +0200 | |
commit | ec79ed5e15e55e0d641b90dcc60371dd562f5322 (patch) | |
tree | d4b44e571efc3b447dfbb9484dc49a0e7806c20f /scripts/generate_rust_analyzer.py | |
parent | ARM: pxa: Use of_property_read_bool() for boolean properties (diff) | |
download | linux-rng-ec79ed5e15e55e0d641b90dcc60371dd562f5322.tar.xz linux-rng-ec79ed5e15e55e0d641b90dcc60371dd562f5322.zip |
soc: fsl: 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: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions