]> git.ipfire.org Git - thirdparty/linux.git/commit
soc: qcom: pbs: use scoped device node handling to simplify error paths
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 13 Aug 2024 13:09:51 +0000 (15:09 +0200)
committerBjorn Andersson <andersson@kernel.org>
Thu, 15 Aug 2024 03:14:43 +0000 (22:14 -0500)
commita29e97bdc160aaa27187c7be3bcd052af66c027a
tree77fc67f3acceceb78ed1ab50712ddc4d78c704ab
parentf4c1c19f5c0e5cf2870df91dedc6b40400fd9c8a
soc: qcom: pbs: 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-5-cfb67323a95c@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/soc/qcom/qcom-pbs.c