[GIT PULL] Thermal control fixes for v6.1-rc1

From: Rafael J. Wysocki
Date: Mon Oct 10 2022 - 13:47:49 EST


Hi Linus,

Please pull from the tag

git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
thermal-6.1-rc1-2

with top-most commit e021563fd09e1fd4041a6a573ec10fb5b5d275b0

Merge tag 'thermal-v6.1-rc1-2' of
https://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux

on top of commit a5088ee7251e5106a4efa9588a73866eb4b4154e

Merge tag 'thermal-6.1-rc1' of
git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm

to receive thermal control fixes for 6.1-rc1.

These fix assorted issues in the thermal core and ARM thermal drivers.

Specifics:

- Use platform data to get the sensor ID instead of parsing the device
in imx_sc thermal driver and remove the dedicated OF function from
the core code (Daniel Lezcano).

- Fix Kconfig dependency for the QCom tsens thermal driver (Jonathan
Cameron).

- Add missing const annotation to the RCar ops thermal driver (Lad
Prabhakar).

- Drop duplicate parameter check from
thermal_zone_device_register_with_trips() (Lad Prabhakar).

- Fix NULL pointer dereference in trip_point_temp_store() by making it
check if the ->set_trip_temp() operation is present (Lad Prabhakar).

- Fix the MSM8939 fourth sensor hardware ID in the QCom tsens thermal
driver (Vincent Knecht).

Thanks!


---------------

Daniel Lezcano (2):
thermal/drivers/imx_sc: Rely on the platform data to get the resource id
thermal/of: Remove the thermal_zone_of_get_sensor_id() function

Jonathan Cameron (1):
thermal/drivers/qcom: Drop false build dependency of all QCOM
drivers on QCOM_TSENS

Lad Prabhakar (3):
thermal/drivers/rcar_thermal: Constify static thermal_zone_device_ops
thermal/core: Drop valid pointer check for type
thermal/core: Add a check before calling set_trip_temp()

Vincent Knecht (1):
thermal/drivers/qcom/tsens-v0_1: Fix MSM8939 fourth sensor hw_id

---------------

drivers/thermal/Makefile | 2 +-
drivers/thermal/imx_sc_thermal.c | 68 +++++++++++++++++++--------------------
drivers/thermal/qcom/tsens-v0_1.c | 2 +-
drivers/thermal/rcar_thermal.c | 2 +-
drivers/thermal/thermal_core.c | 2 +-
drivers/thermal/thermal_of.c | 44 -------------------------
drivers/thermal/thermal_sysfs.c | 8 +++--
include/linux/thermal.h | 10 ------
8 files changed, 42 insertions(+), 96 deletions(-)