cpuidle_unregister(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… cpuidle_unregister(9) β€” the Kernel API Manual, section 9, bestie ✨

okay so real talk, this is a page from the Kernel API Manual (section 9) and it's about the *un*registering side of CPU idle drivers. Yes, the emo sibling of cpuidle_register. Let's get into it 🫢


🌸 NAME 🌸

cpuidle_unregister β€” unregister a driver and the devices.

Lowkey important caveat so listen up πŸ‘‘: this function can be used only if the driver has been previously registered through the cpuidle_register function. No registration, no unregistration. It's giving "you can't break up if you never dated" 😭


✨ SYNOPSIS ✨

void cpuidle_unregister (struct cpuidle_driver *drv );

void return, one pointer in, that's the whole vibe. Clean. Minimal. Iconic.


πŸŽ€ ARGUMENTS πŸŽ€

  • drv β€” a valid pointer to a struct cpuidle_driver. Like, valid valid, bestie. This is the driver you're sending off into the sunset πŸ¦‹

πŸ’œ SEE ALSO πŸ’œ

Kernel file ./drivers/cpuidle/cpuidle.c β€” and omg the friend group is huge, genuinely main character energy from this whole subsystem:


ngl if you got here without calling cpuidle_register first, that's a vibe check you're gonna fail πŸ™ˆ so double-check before you unregister anything, k?

and that's the whole page, bestie, no notes πŸ’… this gem lives in ./drivers/cpuidle and it's dated October 2026 β€” save the date, screenshot it, put it in the group chat πŸŽ€βœ¨πŸ¦‹πŸ“

πŸ“¦ where this page comes from