diff options
author | Rob Herring (Arm) <[email protected]> | 2024-07-31 13:12:42 -0600 |
---|---|---|
committer | Stephen Boyd <[email protected]> | 2024-08-02 16:53:38 -0700 |
commit | 66b065239a2db3ac188d369d0b1797cd8bf62aeb (patch) | |
tree | 58bb65860132e21ad0299568ccbb5b083c39c6dc /drivers/fpga/fpga-mgr.c | |
parent | 9d6a53042c49af34603ff32689305a10a5efbb4e (diff) |
clk: Use of_property_present()
Use of_property_present() to test for property presence rather than
of_(find|get)_property(). This is part of a larger effort to remove
callers of of_find_property() and similar functions.
of_(find|get)_property() leak 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]
Reviewed-by: Linus Walleij <[email protected]>
Acked-by: Geert Uytterhoeven <[email protected]> # clk-mstp.c
Reviewed-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions