diff options
author | Tudor Ambarus <tudor.ambarus@linaro.org> | 2025-01-17 14:18:50 +0000 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2025-02-14 11:37:16 -0600 |
commit | 1c13d6060d612601a61423f2e8fbf9e48126acca (patch) | |
tree | a0ef16b0a4053272081395109bd9861e6a103599 /scripts/lib/kdoc/kdoc_output.py | |
parent | 707fb1f227aae7df81d658f7898b4284b9b61064 (diff) |
soc: qcom: ice: introduce devm_of_qcom_ice_get
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@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Abel Vesa <abel.vesa@linaro.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20250117-qcom-ice-fix-dev-leak-v2-1-1ffa5b6884cb@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions