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,

Comments

Bjorn Andersson Aug. 15, 2024, 8:40 p.m. UTC | #1
On Tue, 13 Aug 2024 15:09:46 +0200, Krzysztof Kozlowski wrote:
> Use cleanup.h/scope on device nodes to get rid of of_node_put(). Code is
> a bit simpler.
> 
> Best regards,
> Krzysztof
> 

Applied, thanks!

[1/6] soc: qcom: apr: simplify with scoped for each OF child loop
      commit: 6c26d9c764c62343722d6ea6c9e4c7e65989f634
[2/6] soc: qcom: aoss: simplify with scoped for each OF child loop
      commit: c50203cbba1573546f115330530d24382fc53f09
[3/6] soc: qcom: ice: use scoped device node handling to simplify error paths
      commit: 877840f13bcc96e05aca2e1e6cc0f957afb788a4
[4/6] soc: qcom: ocmem: use scoped device node handling to simplify error paths
      commit: f4c1c19f5c0e5cf2870df91dedc6b40400fd9c8a
[5/6] soc: qcom: pbs: use scoped device node handling to simplify error paths
      commit: a29e97bdc160aaa27187c7be3bcd052af66c027a
[6/6] soc: qcom: smp2p: use scoped device node handling to simplify error paths
      commit: f728778272242c84d36682c0aabbb845195e745d

Best regards,