thermal_coo...e_unregister(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– thermal_cooling_device_unregister β€” the Kernel API Manual, bestie edition πŸ’–

Okay so this page lives in the Kernel API Manual (section 9, the grown-up kernel-functions section, iykyk) and it's all about yeeting a thermal cooling device out of existence. Let's get into it 🫢


✨ NAME ✨

thermal_cooling_device_unregister β€” literally removes a thermal cooling device. That's it. That's the whole job. Iconic, honestly πŸ’…


🌸 SYNOPSIS 🌸

void thermal_cooling_device_unregister (struct thermal_cooling_device
*cdev );

Note the void β€” this one doesn't hand you back a return value to obsess over. It just does the thing. No cap ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • cdev β€” the thermal cooling device you want to remove. Like, the one you're sending off into the sunset πŸŒ…. Hand it over and it gets unregistered.

πŸŽ€ SEE ALSO πŸŽ€

The kernel file this lives in is ./drivers/thermal/thermal_core.c β€” that's the main character's address πŸ“. And here's the whole friend group, all of them cross-referenced and accounted for:

Like the register one is right there if you need to put a device back β€” the unregister is the breakup, the register is the getting-back-together, we've all been there πŸ˜­πŸ’œ


heads up bestie: this is a void function, so there's no error code to check afterwards. Just call it and trust the vibe check πŸ’€

And that's the whole page, fr fr πŸ“ This was brought to you by ./drivers/thermal, dated October 2026 β€” see you in the next man page, bestie, mwah πŸ’–πŸ§šπŸŒˆ

πŸ“¦ where this page comes from