Re: [PATCH v1 10/33] thermal/drivers/broadcom: Switch to new of API

From: Florian Fainelli
Date: Sun Jul 10 2022 - 22:37:14 EST




On 7/10/2022 2:24 PM, Daniel Lezcano wrote:
The thermal OF code has a new API allowing to migrate the OF
initialization to a simpler approach.

Use this new API.

Signed-off-by: Daniel Lezcano <daniel.lezcano@xxxxxxxxxx>
---
drivers/thermal/broadcom/bcm2711_thermal.c | 14 +++---
drivers/thermal/broadcom/brcmstb_thermal.c | 20 ++++-----

For these two above:

Tested-by: Florian Fainelli <f.fainelli@xxxxxxxxx>

and for the whole patch:

Reviewed-by: Florian Fainelli <f.fainelli@xxxxxxxxx>

Any chance we can keep the struct thermal_zone_device_ops const though?
--
Florian