mbox series

[-next,0/8] soc: Simplify with scoped for each OF child loop and dev_err_probe()

Message ID 20240827114607.4019972-1-ruanjinjie@huawei.com (mailing list archive)
Headers show
Series soc: Simplify with scoped for each OF child loop and dev_err_probe() | expand

Message

Jinjie Ruan Aug. 27, 2024, 11:45 a.m. UTC
Use for_each_child_of_node_scoped() to simplify code.

Jinjie Ruan (8):
  soc: fsl: cpm1: Simplify with scoped for each OF child loop
  soc: fsl: cpm1: Simplify with dev_err_probe()
  soc: fsl: cpm1: qmc: Simplify with scoped for each OF child
  soc: fsl: cpm1: qmc: Simplify with dev_err_probe()
  soc/tegra: pmc: Simplify with scoped for each OF child loop
  soc: dove: Simplify with scoped for each OF child loop
  soc: ti: knav_dma: Simplify with scoped for each OF child loop
  soc: ti: knav_qmss_queue: Simplify with scoped for each OF child loop

 drivers/soc/dove/pmu.c           |  9 ++--
 drivers/soc/fsl/qe/qmc.c         | 66 ++++++++---------------
 drivers/soc/fsl/qe/tsa.c         | 90 ++++++++++----------------------
 drivers/soc/tegra/pmc.c          | 12 ++---
 drivers/soc/ti/knav_dma.c        | 16 ++----
 drivers/soc/ti/knav_qmss_queue.c | 57 +++++++-------------
 6 files changed, 80 insertions(+), 170 deletions(-)

Comments

Thierry Reding Aug. 29, 2024, 3:43 p.m. UTC | #1
From: Thierry Reding <treding@nvidia.com>


On Tue, 27 Aug 2024 19:45:59 +0800, Jinjie Ruan wrote:
> Use for_each_child_of_node_scoped() to simplify code.
> 
> Jinjie Ruan (8):
>   soc: fsl: cpm1: Simplify with scoped for each OF child loop
>   soc: fsl: cpm1: Simplify with dev_err_probe()
>   soc: fsl: cpm1: qmc: Simplify with scoped for each OF child
>   soc: fsl: cpm1: qmc: Simplify with dev_err_probe()
>   soc/tegra: pmc: Simplify with scoped for each OF child loop
>   soc: dove: Simplify with scoped for each OF child loop
>   soc: ti: knav_dma: Simplify with scoped for each OF child loop
>   soc: ti: knav_qmss_queue: Simplify with scoped for each OF child loop
> 
> [...]

Applied, thanks!

[5/8] soc/tegra: pmc: Simplify with scoped for each OF child loop
      commit: 4d57a840560c3ff04fed07a06b3aec7cbac4bff0

Best regards,