devfreq_cooling_unregister(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

devfreq_cooling_unregister β€” the "okay we're done here, pack it up" of devfreq cooling devices. Unregisters them. Periodt.


✨ SYNOPSIS ✨

void devfreq_cooling_unregister (struct thermal_cooling_device *cdev );

No return value bestie, it's void β€” it just does the thing and dips. 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • cdev β€” pointer to the devfreq cooling device you wanna unregister. That's it. That's the whole vibe check. πŸ‘‘

πŸ¦‹ DESCRIPTION πŸ¦‹

So basically this function unregisters the devfreq cooling device πŸ’… β€” and bestie, listen, it also tears down the related Energy Model if it was present. Not always. Only if it was there. iykyk. 🌈

Lowkey important: it's the "if it was present" part that carries the whole meaning, so don't skip it when you're reading the source. Not me being picky, just being fr fr. ✨

πŸ”₯ SEE ALSO πŸ”₯

Okay so if you're going down the rabbit hole (and you should, it's giving main character energy), these are your next stops:

Like, the whole register/unregister family reunion. Obsessed. πŸŽ€


Alright bestie, that's the page πŸ’– β€” brought to you by the Kernel API Manual, filed under ./drivers/thermal, dated October 2026. Slay, go forth and unregister responsibly. πŸ¦‹βœ¨

πŸ“¦ where this page comes from