Re: [PATCH v3 01/11] thermal/core: Use devm_add_action_or_reset() when registering a cooling device

From: Daniel Lezcano

Date: Wed May 06 2026 - 05:45:17 EST


On 4/30/26 21:57, Rafael J. Wysocki wrote:
On Wed, Apr 29, 2026 at 6:14 PM Daniel Lezcano
<daniel.lezcano@xxxxxxxxxxxxxxxx> wrote:

Use devm_add_action_or_reset() which does the replaced code. It
results in a simpler and more concise code.

Signed-off-by: Daniel Lezcano <daniel.lezcano@xxxxxxxxxxxxxxxx>

Reviewed-by: Rafael J. Wysocki (Intel) <rafael@xxxxxxxxxx>

---

I've applied this change on my tree

Thanks