Messages in this thread | | | From | Dmitry Baryshkov <> | Date | Tue, 2 Aug 2022 10:17:08 +0300 | Subject | Re: [PATCH v4 11/32] thermal/drivers/qcom: Switch to new of API |
| |
On Tue, 2 Aug 2022 at 00:24, Daniel Lezcano <daniel.lezcano@linexp.org> 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@linexp.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> --- > 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
| |