Searched refs:trip_temp_attrs (Results 1 – 2 of 2) sorted by relevance
447 tz->trip_temp_attrs = kcalloc(tz->num_trips, sizeof(*tz->trip_temp_attrs), in create_trip_attrs()449 if (!tz->trip_temp_attrs) { in create_trip_attrs()459 kfree(tz->trip_temp_attrs); in create_trip_attrs()466 kfree(tz->trip_temp_attrs); in create_trip_attrs()487 sysfs_attr_init(&tz->trip_temp_attrs[indx].attr.attr); in create_trip_attrs()488 tz->trip_temp_attrs[indx].attr.attr.name = in create_trip_attrs()489 tz->trip_temp_attrs[indx].name; in create_trip_attrs()490 tz->trip_temp_attrs[indx].attr.attr.mode = S_IRUGO; in create_trip_attrs()494 tz->trip_temp_attrs[indx].attr.attr.mode |= S_IWUSR; in create_trip_attrs()495 tz->trip_temp_attrs[indx].attr.store = in create_trip_attrs()[all …]
161 struct thermal_attr *trip_temp_attrs; member
Completed in 6 milliseconds