mbox series

[0/5] soc: qcom: simplify with cleanup.h

Message ID 20240703-thermal-const-v1-0-6e59e139c65d@linaro.org (mailing list archive)
Headers show
Series soc: qcom: simplify with cleanup.h | expand

Message

Krzysztof Kozlowski July 3, 2024, 9:42 a.m. UTC
Allocate the memory with scoped/cleanup.h to reduce error handling (less
error paths) and make the code a bit simpler.

Best regards,
Krzysztof

---
Krzysztof Kozlowski (5):
      soc: qcom: llcc: simplify with cleanup.h
      soc: qcom: mdt_loader: simplify with cleanup.h
      soc: qcom: ocmem: simplify with cleanup.h
      soc: qcom: pdr: simplify with cleanup.h
      soc: qcom: wcnss: simplify with cleanup.h

 drivers/soc/qcom/llcc-qcom.c     |  6 ++----
 drivers/soc/qcom/mdt_loader.c    |  6 ++----
 drivers/soc/qcom/ocmem.c         | 10 ++++------
 drivers/soc/qcom/pdr_interface.c | 38 ++++++++++++++------------------------
 drivers/soc/qcom/wcnss_ctrl.c    | 11 +++++------
 5 files changed, 27 insertions(+), 44 deletions(-)
---
base-commit: eec3a8b019937cc4520772df2657a8a105250e04
change-id: 20240703-thermal-const-7fb8e172c183

Best regards,

Comments

Bjorn Andersson July 6, 2024, 10:01 p.m. UTC | #1
On Wed, 03 Jul 2024 11:42:35 +0200, Krzysztof Kozlowski wrote:
> Allocate the memory with scoped/cleanup.h to reduce error handling (less
> error paths) and make the code a bit simpler.
> 
> Best regards,
> Krzysztof
> 

Applied, thanks!

[1/5] soc: qcom: llcc: simplify with cleanup.h
      commit: 04e60d7a72b65f8aa45ef04458c818e9c95fe584
[2/5] soc: qcom: mdt_loader: simplify with cleanup.h
      commit: 01dd825d2b54edc90394f297830c63047b424da1
[3/5] soc: qcom: ocmem: simplify with cleanup.h
      commit: 20635bcc12d5feb1b0005d559cf7cf27743045df
[4/5] soc: qcom: pdr: simplify with cleanup.h
      commit: 0ed06fcc7a84ea4861564862545dc7805c0f132e
[5/5] soc: qcom: wcnss: simplify with cleanup.h
      commit: b066a2c430f3f8d0aedba44991e0a69e21b512d3

Best regards,