Message ID | 20240825-reset-cleanup-scoped-v1-0-03f6d834f8c0@linaro.org (mailing list archive) |
---|---|
Headers | show |
Series | reset: cleanup and simplify with devm and scoped | expand |
On 8/25/24 11:14 PM, Krzysztof Kozlowski wrote: > 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. Patches that have a Fixes tag will likely be picked up for stable by Sasha's bot anyway... Not a problem for these patches I think. > > 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,
On So, 2024-08-25 at 16:14 +0200, Krzysztof Kozlowski wrote: > 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. Thank you, applied to reset/next with Damien's suggested change. regards Philipp