lkml.org 
[lkml]   [2022]   [Aug]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [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

\
 
 \ /
  Last update: 2022-08-02 09:18    [W:0.089 / U:1.552 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site