Skip to content

thermal: Use trip pointers in thermal driver interface

Rafael J. Wysocki linux-arm-msm linux-pm linux-renesas-soc linux-tegra lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 of 8 patches 9 repliesIn review

7 of 8 patches are in this archive. The cover letter announces 8.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8thermal: broadcom: Use thermal_zone_get_crit_temp() in bcm2835_thermal_probe()drivers/thermal/broadcom/bcm2835_thermal.c+3 -42 replies
2/8thermal: hisi: Use thermal_zone_for_each_trip() in hisi_thermal_register_sensor()drivers/thermal/hisi_thermal.c+13 -91 reply
3/8thermal: qcom: Use thermal_zone_get_crit_temp() in qpnp_tm_init()drivers/thermal/qcom/qcom-spmi-temp-alarm.c+3 -192 replies
4/8thermal: tegra: Introduce struct trip_temps for critical and hot tripsdrivers/thermal/tegra/tegra30-tsensor.c+20 -141 reply
5/8thermal: tegra: Use thermal_zone_for_each_trip() for walking trip pointsdrivers/thermal/tegra/soctherm.c drivers/thermal/tegra/tegra30-tsensor.c+33 -301 reply
6/8thermal: helpers: Drop get_thermal_instance()drivers/thermal/thermal_core.h drivers/thermal/thermal_helpers.c+6 -291 reply
8/8thermal: trip: Drop thermal_zone_get_trip()drivers/thermal/thermal_trip.c include/linux/thermal.h+0 -161 reply

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchFlorian FainelliNiklas SöderlundLukasz LubaAmit Kucheria
SeriesR-b R-b
1/8R-b R-b
2/8R-b
3/8R-b R-b
4/8R-b
5/8R-b
6/8R-b
8/8R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [RESEND][PATCH v1 0/8] thermal: Use trip pointers in thermal driver interface

Hi Everyone,

This material has been sent already:

https://lore.kernel.org/linux-pm/8409966.T7Z3S40VBb@kreacher/

but it has not got any traction, so resending it and I will assume no concerns if there is still no response.

This series modifies a few drivers to stop using trip IDs in its interactions with the core, which requires making assumptions regarding trip ordering that may not be met in the future, and there are other ways to do so that are preferred.

Having done that, it removes a few core functions that have no more users.

Thanks!