]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
soc: qcom: pbs: simplify locking with guard()
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 22 Aug 2024 16:48:52 +0000 (18:48 +0200)
committerBjorn Andersson <andersson@kernel.org>
Sun, 6 Oct 2024 03:12:48 +0000 (22:12 -0500)
commit6187aaae71ec236163d96601b37216e110bf7554
tree00791cf84ed049ae282d267849b75d303d99e19b
parent35791e5672a14a95cb45cb723566bae36de111c9
soc: qcom: pbs: simplify locking with guard()

Simplify error handling (less gotos) over locks with guard().

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240822164853.231087-3-krzysztof.kozlowski@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/soc/qcom/qcom-pbs.c