Searched refs:tz_np (Results 1 – 1 of 1) sorted by relevance
227 struct device_node *np, *tz_np; in thermal_of_zone_get_by_name() local233 tz_np = of_get_child_by_name(np, tz->type); in thermal_of_zone_get_by_name()237 if (!tz_np) in thermal_of_zone_get_by_name()240 return tz_np; in thermal_of_zone_get_by_name()310 struct device_node *tz_np, *cm_np; in thermal_of_should_bind() local313 tz_np = thermal_of_zone_get_by_name(tz); in thermal_of_should_bind()314 if (IS_ERR(tz_np)) { in thermal_of_should_bind()319 cm_np = of_get_child_by_name(tz_np, "cooling-maps"); in thermal_of_should_bind()328 of_node_put(tz_np); in thermal_of_should_bind()