Searched refs:tz_np (Results 1 – 1 of 1) sorted by relevance
245 struct device_node *np, *tz_np; in thermal_of_zone_get_by_name() local251 tz_np = of_get_child_by_name(np, tz->type); in thermal_of_zone_get_by_name()255 if (!tz_np) in thermal_of_zone_get_by_name()258 return tz_np; in thermal_of_zone_get_by_name()300 struct device_node *tz_np, *cm_np, *child; in thermal_of_should_bind() local303 tz_np = thermal_of_zone_get_by_name(tz); in thermal_of_should_bind()304 if (IS_ERR(tz_np)) { in thermal_of_should_bind()309 cm_np = of_get_child_by_name(tz_np, "cooling-maps"); in thermal_of_should_bind()339 of_node_put(tz_np); in thermal_of_should_bind()