Use for_each_child_of_node_scoped() and dev_err_probe() to simplify code.
Changes in v2:
- Split from the whole soc patch set.
- Update the commit message.
Jinjie Ruan (4):
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()
drivers/soc/fsl/qe/qmc.c | 66 ++++++++++-------------------
drivers/soc/fsl/qe/tsa.c | 90 ++++++++++++----------------------------
2 files changed, 50 insertions(+), 106 deletions(-)
--
2.34.1