[PATCH] clk: Use of_property_present()

Stephen Boyd sboyd at kernel.org
Fri Aug 2 16:54:11 PDT 2024


Quoting Rob Herring (Arm) (2024-07-31 12:12:42)
> 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) <robh at kernel.org>
> ---

Applied to clk-next



More information about the linux-arm-kernel mailing list