Home
last modified time | relevance | path

Searched hist:dd72a3b8a6007b44ed3b85e1d606afc434879e70 (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/regulator/
H A Dqcom_spmi-regulator.cdiff dd72a3b8a6007b44ed3b85e1d606afc434879e70 Wed Aug 28 15:00:55 CEST 2024 Rob Herring (Arm) <robh@kernel.org> regulator: qcom_spmi: 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 property pointer which is a problem for dynamically allocated
nodes which may be freed.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20240828130056.3481050-2-robh@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>