[PATCH 0/5] reset: cleanup and simplify with devm and scoped

From: Krzysztof Kozlowski
Date: Sun Aug 25 2024 - 10:14:42 EST


Hi,

Two simple fixes, which do not cover real scenario (memory allocation
failure during probe), thus not marking CC-stable. Rest of patchset is
simplifying of code.

Best regards,
Krzysztof

---
Krzysztof Kozlowski (5):
reset: berlin: fix OF node leak in probe() error path
reset: k210: fix OF node leak in probe() error path
reset: simplify locking with guard()
reset: lpc18xx: simplify with dev_err_probe()
reset: lpc18xx: simplify with devm_clk_get_enabled()

drivers/reset/core.c | 15 ++++-----------
drivers/reset/reset-berlin.c | 3 ++-
drivers/reset/reset-k210.c | 3 ++-
drivers/reset/reset-lpc18xx.c | 43 ++++++++++---------------------------------
4 files changed, 18 insertions(+), 46 deletions(-)
---
base-commit: e706b1fe2384d38e6e9edfb6d9e11e26873c24c7
change-id: 20240825-reset-cleanup-scoped-64bb3cb6157f

Best regards,
--
Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>