Commit 5fe164fb authored by Rob Herring (Arm)'s avatar Rob Herring (Arm) Committed by Jakub Kicinski
Browse files

net: Use of_property_read_bool()



Use of_property_read_bool() to read boolean properties 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: default avatarRob Herring (Arm) <robh@kernel.org>
Reviewed-by: default avatarMD Danish Anwar <danishanwar@ti.com>
Link: https://patch.msgid.link/20240731191601.1714639-2-robh@kernel.org


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 0b0e9cdb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment