On 17/01/2025 15:18, Tudor Ambarus wrote: > Callers of of_qcom_ice_get() leak the device reference taken by > of_find_device_by_node(). Introduce devm variant for of_qcom_ice_get(). > Existing consumers need the ICE instance for the entire life of their > device, thus exporting qcom_ice_put() is not required. > > Signed-off-by: Tudor Ambarus <tudor.ambarus@xxxxxxxxxx> > --- > drivers/soc/qcom/ice.c | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ > include/soc/qcom/ice.h | 2 ++ > 2 files changed, 50 insertions(+) Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx> Best regards, Krzysztof