create_trip_attrs(9)
create_trip_attrs(9) β Kernel API Manual β¨
π NAME
create_trip_attrs β create attributes for trip points.
πΈ SYNOPSIS
int create_trip_attrs (struct thermal_zone_device *tz );
π ARGUMENTS
tzβ the thermal zone device.
π DESCRIPTION
Okay so bestie, this is a helper function π. What it does is instantiate sysfs entries for every trip point and its properties of a struct thermal_zone_device. That's the whole vibe β no cap.
π¦ RETURN
0 on success, the proper error value otherwise. So zero = success, and otherwise you get the proper error value π.
π SEE ALSO
- Kernel file
./drivers/thermal/thermal_sysfs.c destroy_trip_attrs(9)
okay mwah π β source/version is ./drivers/thermal, date is October 2026, and this page is create_trip_attrs(9). bye bestie π«Άβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms