cpuidle_remove_state_sysfs(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ cpuidle_remove_state_sysfs(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸ’… this one's a little function with a big job β€” it's the cleanup crew for cpuidle state sysfs attributes, and honestly? we love a function that knows how to tidy up after itself 🧹✨


🌸 NAME 🌸

cpuidle_remove_state_sysfs β€” removes the cpuidle states sysfs attributes πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

void cpuidle_remove_state_sysfs (struct cpuidle_device *device );

it's giving "void, no return value, no drama" ✨ no cap, that's the whole signature β€” a struct cpuidle_device * and nothing else πŸ’œ


πŸ’– ARGUMENTS πŸ’–

  • device β€” the target device πŸ‘‘ literally just the device you're cleaning up the state sysfs attributes for. that's it. that's the argument. main character energy fr fr 🫢

🌈 SEE ALSO 🌈

if you're deep in the cpuidle sysfs lore (iykyk), you already know the whole squad πŸ’€ the Kernel file lives at ./drivers/cpuidle/sysfs.c and here's everyone else in the friend group:

like, cpuidle_add_state_sysfs is literally the mirror twin of this one β€” one adds, one removes, iconic symmetry honestly ⭐


ok so real talk: this is the remove one, bestie. if you were looking for the add version, that's cpuidle_add_state_sysfs(9) β€” don't mix them up πŸ™ˆ

and that's the vibe check! πŸ’– this page lives in the ./drivers/cpuidle directory, and the docs are dated October 2026 β€” so yeah, we're reading from the future, slay πŸ•°οΈβœ¨ bye bestie, go remove those attributes responsibly πŸŽ€πŸ’œπŸ“

πŸ“¦ where this page comes from