aboutsummaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorRob Herring (Arm) <[email protected]>2024-07-31 13:12:41 -0600
committerBartosz Golaszewski <[email protected]>2024-08-01 09:40:35 +0200
commitb034a90b2745e43b4a85b56dc5fd7a6fa1a21f31 (patch)
tree52ce1d757e86316b689968c1ee6b49f6b6ff1e66 /rust/helpers/build_bug.c
parentac93ca125b5409df56c5139648bbe10fd1ea989b (diff)
gpio: Use of_property_present()
Use of_property_present() to test for property presence rather than of_find_property(). This is part of a larger effort to remove callers of of_find_property() and similar functions. of_find_property() leaks the DT struct property and data pointers which is a problem for dynamically allocated nodes which may be freed. Signed-off-by: Rob Herring (Arm) <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions