]> www.infradead.org Git - users/jedix/linux-maple.git/commit
soc: qcom: pdr: simplify with cleanup.h
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 3 Jul 2024 09:42:39 +0000 (11:42 +0200)
committerBjorn Andersson <andersson@kernel.org>
Sat, 6 Jul 2024 17:56:50 +0000 (12:56 -0500)
commit0ed06fcc7a84ea4861564862545dc7805c0f132e
treefaa0d0e5740393ab2774683f3a3d46e4b54d446b
parent20635bcc12d5feb1b0005d559cf7cf27743045df
soc: qcom: pdr: simplify with cleanup.h

Allocate the memory with scoped/cleanup.h to reduce error handling (less
error paths) and make the code a bit simpler.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240703-thermal-const-v1-4-6e59e139c65d@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/soc/qcom/pdr_interface.c