WSL2-Linux-Kernel/drivers/thermal/st
Daniel Lezcano 0fb6c6493f thermal/drivers/stm: Don't set no_hwmon to false
The thermal->tzp->no_hwmon parameter is only used when calling
thermal_zone_device_register().

Setting it to 'false' before calling thermal_add_hwmon_sysfs() has no
effect.

Remove the call and again prevent the drivers to access the thermal
internals.

Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
Cc: Alexandre Torgue <alexandre.torgue@foss.st.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20230307133735.90772-6-daniel.lezcano@linaro.org
2023-04-01 20:51:45 +02:00
..
Kconfig thermal/drivers/st: Remove syscfg based driver 2023-02-15 17:30:04 +01:00
Makefile thermal/drivers/st: Remove syscfg based driver 2023-02-15 17:30:04 +01:00
st_thermal.c thermal: Remove debug or error messages in get_temp() ops 2023-03-03 20:45:02 +01:00
st_thermal.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
st_thermal_memmap.c thermal/drivers/st: Use devm_platform_get_and_ioremap_resource() 2021-06-14 19:01:15 +02:00
stm_thermal.c thermal/drivers/stm: Don't set no_hwmon to false 2023-04-01 20:51:45 +02:00