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

Bryan Brattlof
2022-08-04T23:31:03Z

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@linexp.org>

Reviewed-by: Bryan Brattlof <bb@ti.com>

> ---
> 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