Re: [PATCH v5 26/33] hwmon/drivers/pm_bus: Switch to new of thermal API

From: Guenter Roeck
Date: Wed Aug 10 2022 - 08:41:49 EST


On 8/10/22 03:23, Daniel Lezcano wrote:
On 08/08/2022 12:29, Guenter Roeck wrote:
On Fri, Aug 05, 2022 at 12:43:42AM +0200, Daniel Lezcano wrote:
The thermal OF code has a new API allowing to migrate the OF
initialization to a simpler approach. The ops are no longer device
tree specific and are the generic ones provided by the core code.

Convert the ops to the thermal_zone_device_ops format and use the new
API to register the thermal zone with these generic ops.

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

Subject tag should be something like "hwmon: (pmbus) ...".

Also, from other patches it appears that this would or might result
in a registration failure if a thermal zone for the sensor does not
exist. This will need to be resolved before the patch is can be applied.

With the subject fixed, shall I add your Acked-by ?


Yes. With subject fixed:

Acked-by: Guenter Roeck <linux@xxxxxxxxxxxx>

Thanks,
Guenter