Searched refs:trip_temp_attrs (Results 1 – 2 of 2) sorted by relevance
448 tz->trip_temp_attrs = kcalloc(tz->num_trips, sizeof(*tz->trip_temp_attrs), in create_trip_attrs()450 if (!tz->trip_temp_attrs) { in create_trip_attrs()460 kfree(tz->trip_temp_attrs); in create_trip_attrs()467 kfree(tz->trip_temp_attrs); in create_trip_attrs()485 snprintf(tz->trip_temp_attrs[indx].name, THERMAL_NAME_LENGTH, in create_trip_attrs()488 sysfs_attr_init(&tz->trip_temp_attrs[indx].attr.attr); in create_trip_attrs()489 tz->trip_temp_attrs[indx].attr.attr.name = in create_trip_attrs()490 tz->trip_temp_attrs[indx].name; in create_trip_attrs()491 tz->trip_temp_attrs[indx].attr.attr.mode = S_IRUGO; in create_trip_attrs()492 tz->trip_temp_attrs[indx].attr.show = trip_point_temp_show; in create_trip_attrs()[all …]
160 struct thermal_attr *trip_temp_attrs; member