Lines Matching defs:th_dev
92 struct thermal_zone_device *th_dev;
132 thermal_zone_device_update(sensor->th_dev, THERMAL_EVENT_UNSPECIFIED);
467 thermal_zone_device_update(sensor->th_dev, THERMAL_EVENT_UNSPECIFIED);
542 sensor->th_dev = devm_thermal_zone_of_sensor_register(&pdev->dev, 0,
546 if (IS_ERR(sensor->th_dev)) {
549 ret = PTR_ERR(sensor->th_dev);
564 sensor->th_dev->tzp->no_hwmon = false;
565 ret = thermal_add_hwmon_sysfs(sensor->th_dev);
575 thermal_zone_of_sensor_unregister(&pdev->dev, sensor->th_dev);
584 thermal_remove_hwmon_sysfs(sensor->th_dev);
585 thermal_zone_of_sensor_unregister(&pdev->dev, sensor->th_dev);