mbox series

[0/6] soc: qcom: use scoped device node handling to simplify error paths

Message ID 20240813-b4-cleanup-h-of-node-put-other-v1-0-cfb67323a95c@linaro.org
Headers show
Series soc: qcom: use scoped device node handling to simplify error paths | expand

Message

Krzysztof Kozlowski Aug. 13, 2024, 1:09 p.m. UTC
Use cleanup.h/scope on device nodes to get rid of of_node_put(). Code is
a bit simpler.

Best regards,
Krzysztof

---
Krzysztof Kozlowski (6):
      soc: qcom: apr: simplify with scoped for each OF child loop
      soc: qcom: aoss: simplify with scoped for each OF child loop
      soc: qcom: ice: use scoped device node handling to simplify error paths
      soc: qcom: ocmem: use scoped device node handling to simplify error paths
      soc: qcom: pbs: use scoped device node handling to simplify error paths
      soc: qcom: smp2p: use scoped device node handling to simplify error paths

 drivers/soc/qcom/apr.c       |  5 +----
 drivers/soc/qcom/ice.c       | 14 +++++---------
 drivers/soc/qcom/ocmem.c     |  7 ++-----
 drivers/soc/qcom/qcom-pbs.c  | 16 ++++++----------
 drivers/soc/qcom/qcom_aoss.c |  8 +++-----
 drivers/soc/qcom/smp2p.c     | 16 ++++------------
 6 files changed, 21 insertions(+), 45 deletions(-)
---
base-commit: d54f33dafd9e93367ffaf95318ed371138a6c8c0
change-id: 20240813-b4-cleanup-h-of-node-put-other-7e9c7128abe4

Best regards,