diff options
| author | Rob Herring (Arm) <robh@kernel.org> | 2024-07-31 22:12:48 +0300 |
|---|---|---|
| committer | Rob Herring (Arm) <robh@kernel.org> | 2024-08-06 22:22:13 +0300 |
| commit | 1c668ea65506e67ce2eae07b69bb09fcdd86e309 (patch) | |
| tree | 4b2d81d6fcdcb634c44e7bd388b5122a219da814 /drivers/usb/cdns3/cdns3-trace.c | |
| parent | b31b9fb578783ee569d28325917821e7149e6f9b (diff) | |
| download | linux-1c668ea65506e67ce2eae07b69bb09fcdd86e309.tar.xz | |
of: unittest: 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.
Link: https://lore.kernel.org/r/20240731191312.1710417-10-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions
