]> git.ipfire.org Git - thirdparty/linux.git/commit
soc: qcom: ocmem: use scoped device node handling to simplify error paths
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 13 Aug 2024 13:09:50 +0000 (15:09 +0200)
committerBjorn Andersson <andersson@kernel.org>
Thu, 15 Aug 2024 03:14:43 +0000 (22:14 -0500)
commitf4c1c19f5c0e5cf2870df91dedc6b40400fd9c8a
treedd2e73c1eeefe5c8775f1c10d66d8b84d5a3a1a6
parent877840f13bcc96e05aca2e1e6cc0f957afb788a4
soc: qcom: ocmem: use scoped device node handling to simplify error paths

Obtain the device node reference with scoped/cleanup.h to reduce error
handling and make the code a bit simpler.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240813-b4-cleanup-h-of-node-put-other-v1-4-cfb67323a95c@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/soc/qcom/ocmem.c