Re: [PATCH 1/2] power: supply: core: simplify with cleanup.h

From: Krzysztof Kozlowski
Date: Wed Aug 21 2024 - 09:57:02 EST


On 05/07/2024 13:31, Krzysztof Kozlowski wrote:
> Allocate the memory with scoped/cleanup.h to reduce error handling and
> make the code a bit simpler.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
> ---
> drivers/power/supply/power_supply_core.c | 7 +++----
> 1 file changed, 3 insertions(+), 4 deletions(-)
>

Sebastian,

Any comments on these patches?

Best regards,
Krzysztof