Searched refs:thermal_dev (Results 1 – 1 of 1) sorted by relevance
681 struct thermal_zone_device *thermal_dev; in icnss_get_temperature() local692 thermal_dev = thermal_zone_get_zone_by_name(tsens); in icnss_get_temperature()693 if (IS_ERR_OR_NULL(thermal_dev)) { in icnss_get_temperature()695 PTR_ERR(thermal_dev)); in icnss_get_temperature()696 return PTR_ERR(thermal_dev); in icnss_get_temperature()699 ret = thermal_zone_get_temp(thermal_dev, temp); in icnss_get_temperature()