Re: [PATCH 00/10] pmdomain: Simplify with cleanup.h

From: Ulf Hansson
Date: Fri Sep 13 2024 - 08:02:28 EST


On Fri, 23 Aug 2024 at 14:51, Krzysztof Kozlowski
<krzysztof.kozlowski@xxxxxxxxxx> wrote:
>
> Simplify the code with scoped loops, guards and __free().
>
> Best regards,
> Krzysztof
>
> ---
> Krzysztof Kozlowski (10):
> pmdomain: rockchip: Simplify with scoped for each OF child loop
> pmdomain: rockchip: Simplify locking with guard()
> pmdomain: imx: gpc: Simplify with scoped for each OF child loop
> pmdomain: imx: gpcv2: Simplify with scoped for each OF child loop
> pmdomain: qcom: cpr: Simplify with dev_err_probe()
> pmdomain: qcom: cpr: Simplify locking with guard()
> pmdomain: qcom: rpmhpd: Simplify locking with guard()
> pmdomain: qcom: rpmpd: Simplify locking with guard()
> pmdomain: renesas: rcar-gen4-sysc: Use scoped device node handling to simplify error paths
> pmdomain: renesas: rcar-sysc: Use scoped device node handling to simplify error paths
>
> drivers/pmdomain/imx/gpc.c | 14 +++-----
> drivers/pmdomain/imx/gpcv2.c | 8 ++---
> drivers/pmdomain/qcom/cpr.c | 58 ++++++++++++-------------------
> drivers/pmdomain/qcom/rpmhpd.c | 11 +++---
> drivers/pmdomain/qcom/rpmpd.c | 20 ++++-------
> drivers/pmdomain/renesas/rcar-gen4-sysc.c | 26 ++++++--------
> drivers/pmdomain/renesas/rcar-sysc.c | 28 ++++++---------
> drivers/pmdomain/rockchip/pm-domains.c | 25 ++++---------
> 8 files changed, 68 insertions(+), 122 deletions(-)
> ---
> base-commit: e188fd67a69319f3d105d9b90e424b8d1ff9580c
> change-id: 20240823-cleanup-h-guard-pm-domain-35eb491f35f9
>
> Best regards,
> --
> Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>

Patch 1 -> 8 applied for next, thanks!

Kind regards
Uffe