OpenCloudOS-Kernel/drivers/thermal/broadcom
Daniel Lezcano 944441d878 thermal/drivers/broadcom: Switch to new of API
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@linexp.org>
Tested-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20220804224349.1926752-11-daniel.lezcano@linexp.org
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
2022-08-17 14:09:38 +02:00
..
Kconfig thermal: Add BCM2711 thermal driver 2020-01-27 11:41:08 +01:00
Makefile thermal: Add BCM2711 thermal driver 2020-01-27 11:41:08 +01:00
bcm2711_thermal.c thermal/drivers/broadcom: Switch to new of API 2022-08-17 14:09:38 +02:00
bcm2835_thermal.c thermal/drivers/broadcom: Switch to new of API 2022-08-17 14:09:38 +02:00
brcmstb_thermal.c thermal/drivers/broadcom: Switch to new of API 2022-08-17 14:09:38 +02:00
ns-thermal.c thermal/drivers/broadcom: Switch to new of API 2022-08-17 14:09:38 +02:00
sr-thermal.c thermal/drivers/broadcom: Switch to new of API 2022-08-17 14:09:38 +02:00