]> git.ipfire.org Git - thirdparty/linux.git/commit
thermal/drivers/sti: Depend on THERMAL_OF subsystem
authorRaphael Gallais-Pou <rgallaispou@gmail.com>
Tue, 16 Jul 2024 17:34:52 +0000 (19:34 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 2 Sep 2024 10:43:27 +0000 (12:43 +0200)
commit8e12f1f88196b67975e664a35e230b3b2292d10b
treef9cb09bfc28c978e4a541e166700edc0b477ee62
parent27fec3cc9ee42fcf21f4527d60dbc1f824e592b1
thermal/drivers/sti: Depend on THERMAL_OF subsystem

Switch to thermal_of_zone to handle thermal-zones. Replace
thermal_zone_device_register() by devm_thermal_of_zone_register() and
remove ops st_thermal_get_trip_type, st_thermal_get_trip_temp.

Signed-off-by: Raphael Gallais-Pou <rgallaispou@gmail.com>
Link: https://lore.kernel.org/r/20240716-thermal-v4-2-947b327e165c@gmail.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/thermal/Kconfig
drivers/thermal/st/st_thermal.c