Re: [PATCH] thermal/core: Split __thermal_cooling_device_register() into two functions

From: Lukasz Luba

Date: Wed May 13 2026 - 12:12:36 EST




On 5/8/26 13:40, Daniel Lezcano wrote:
On 5/8/26 14:08, Rafael J. Wysocki wrote:
On Fri, May 8, 2026 at 1:25 PM Daniel Lezcano
<daniel.lezcano@xxxxxxxxxxxxxxxx> wrote:

[ ... ]

In thermal_zone_device_register_with_trips()
{
         ...
         tz->device.release = tz_dev_release
         ...
}

Right, so why don't we clean that up to start with?

On the way ... :)

With the re-work done in [1], this patch looks good now

Reviewed-by: Lukasz Luba <lukasz.luba@xxxxxxx>


[1] https://lore.kernel.org/lkml/20260508180511.1306659-1-daniel.lezcano@xxxxxxxxxxxxxxxx/