Re: [PATCH v5 21/33] thermal/drivers/banggap: Switch to new of API

From: Bryan Brattlof
Date: Thu Aug 04 2022 - 19:31:06 EST


On August 5, 2022 thus sayeth Daniel Lezcano:
> 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>

Reviewed-by: Bryan Brattlof <bb@xxxxxx>

> ---
> drivers/thermal/k3_bandgap.c | 12 ++++++------
> drivers/thermal/k3_j72xx_bandgap.c | 12 +++++-------
> 2 files changed, 11 insertions(+), 13 deletions(-)
>

Thanks for updating the drivers!

~Bryan