Re: [PATCH v4 11/32] thermal/drivers/qcom: Switch to new of API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux