thermal_zone...e_unregister(9)
π thermal_zone...e_unregister(9)
okay bestie, welcome to the Kernel API Manual π this one's short and sweet, so honestly? we can absolutely get through it together. no cap.
β¨ NAME β¨
thermal_zone_device_unregister β literally removes the registered thermal zone device π«Ά that's it. that's the whole job. she deregisters, she leaves, she doesn't look back.
πΈ SYNOPSIS πΈ
void thermal_zone_device_unregister (struct thermal_zone_device *tz );
the way it's void?? she gives nothing back. returns no value. iconic behavior honestly π
π¦ ARGUMENTS π¦
tzβ the thermal zone device to remove π§ bestie this is the one u are unregistering. hand her over and she's out. (type isstruct thermal_zone_device *, keep that pointer exact, mwah π)
π₯ SEE ALSO π₯
ok so if u wanna go deeper (and u KNOW u do), go peek at the kernel file ./drivers/thermal/thermal_core.c β¨ and also the whole friend group:
bind_previous_governor(9)thermal_set_governor(9)thermal_bind_cdev_to_trip(9)thermal_unbind_cdev_from_trip(9)thermal_cooling_device_register(9)devm_thermal_cooling_device_register(9)thermal_cooling_device_update(9)thermal_cooling_device_unregister(9)thermal_zone_device_register_with_trips(9)thermal_zone_get_zone_by_name(9)
like, the register ones and the unregister ones are sisters fr fr π«Ά it's giving matching outfits.
lowkey reminder: tz gets removed. so like, don't be out here using it after. that's the vibe check. π (no extra lore added, that's just what "remove" means bestie, i'm not making stuff up π)
k bye ily!! this page came from ./drivers/thermal, dated October 2026, and it's thermal_zone...e_unregister(9) all the way down. slay, stay thermal, don't unregister urself ππβ
π¦ 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