aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2023-03-10 08:47:24 -0600
committerMichal Simek <michal.simek@amd.com>2023-05-12 13:06:14 +0200
commitbe11d67a144db79408a19642d0a8d65fb9f52105 (patch)
tree142909b452af62dfd6bc64cf49f5fa9a61e7820b /scripts/generate_rust_analyzer.py
parentLinux 6.4-rc1 (diff)
downloadwireguard-linux-be11d67a144db79408a19642d0a8d65fb9f52105.tar.xz
wireguard-linux-be11d67a144db79408a19642d0a8d65fb9f52105.zip
soc: xilinx: 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> Link: https://lore.kernel.org/r/20230310144725.1545315-1-robh@kernel.org Signed-off-by: Michal Simek <michal.simek@amd.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions