Re: [PATCH 03/10] pmdomain: samsung: use to devm_kstrdup_const() to simplify error handling

From: Krzysztof Kozlowski
Date: Wed Oct 08 2025 - 20:13:42 EST


On 07/10/2025 01:43, André Draszik wrote:
> Convert to using devm_kstrdup_const() so as to simplify cleanup during
> error handling.


This is either a fix (then describe the fixed issue and add Fixed tag)
or you change the logic, not only simplify.

Previously on of_genpd_add_provider_simple() the memory was not
kfree_const. Now it will be.


Best regards,
Krzysztof