Home
last modified time | relevance | path

Searched refs:th_dev (Results 1 – 1 of 1) sorted by relevance

/linux-5.19.10/drivers/thermal/st/
Dstm_thermal.c92 struct thermal_zone_device *th_dev; member
132 thermal_zone_device_update(sensor->th_dev, THERMAL_EVENT_UNSPECIFIED); in stm_thermal_irq_handler()
467 thermal_zone_device_update(sensor->th_dev, THERMAL_EVENT_UNSPECIFIED); in stm_thermal_resume()
542 sensor->th_dev = devm_thermal_zone_of_sensor_register(&pdev->dev, 0, in stm_thermal_probe()
546 if (IS_ERR(sensor->th_dev)) { in stm_thermal_probe()
549 ret = PTR_ERR(sensor->th_dev); in stm_thermal_probe()
564 sensor->th_dev->tzp->no_hwmon = false; in stm_thermal_probe()
565 ret = thermal_add_hwmon_sysfs(sensor->th_dev); in stm_thermal_probe()
575 thermal_zone_of_sensor_unregister(&pdev->dev, sensor->th_dev); in stm_thermal_probe()
584 thermal_remove_hwmon_sysfs(sensor->th_dev); in stm_thermal_remove()
[all …]