On Tue, 2 Aug 2022 at 00:24, 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> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx> > --- > drivers/thermal/qcom/qcom-spmi-adc-tm5.c | 19 +++++++++---------- > drivers/thermal/qcom/qcom-spmi-temp-alarm.c | 12 ++++++------ > drivers/thermal/qcom/tsens.c | 16 ++++++++-------- > 3 files changed, 23 insertions(+), 24 deletions(-) -- With best wishes Dmitry