Re: [PATCH v3 27/32] iio/drivers/sun4i_gpadc: Switch to new of thermal API

From: Daniel Lezcano
Date: Sun Jul 31 2022 - 14:48:15 EST


On 31/07/2022 14:13, Jonathan Cameron wrote:
On Wed, 27 Jul 2022 23:02:48 +0200
Daniel Lezcano <daniel.lezcano@xxxxxxxxxx> 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>
Whilst making no pretence at having checked what the new calls do, I'm fine with this
patch affecting the driver in IIO and going through appropriate thermal tree.

Acked-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>

Thanks for reviewing the patch