thermal_zone...e_unregister(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 is struct 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:

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