cpuidle_remove_driver_sysfs(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… cpuidle_remove_driver_sysfs(9) πŸ’…

okay bestie, welcome to the Kernel API Manual β€” yes this is a real manual page, section 9, kernel API vibes only, and we're about to learn how to take away a sysfs attribute. it's giving cleanup era. 🧹✨


🌸 NAME 🌸

cpuidle_remove_driver_sysfs β€” literally removes the driver name sysfs attribute. that's it. that's the whole job. iconic minimalism honestly. πŸ’…


✨ SYNOPSIS ✨

void cpuidle_remove_driver_sysfs (struct cpuidle_device *dev );

no cap, that's the entire signature. copy it exactly bestie, don't get creative with the spacing 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the target device. like, the device. the one whose driver name sysfs attribute is about to be yeeted. this is the main character of the function ngl πŸ‘‘

πŸ¦‹ SEE ALSO πŸ¦‹

okay so if you're the kind of girlie who likes to see the whole friend group, here's everyone in the squad β€” and yes, the kernel file is right there too:

Kernel file ./drivers/cpuidle/sysfs.c, plus:

notice how there's an add and a remove for basically everything? balance. symmetry. the universe said "you must be able to undo it" and honestly we love that for us 🌈

heads up: this one's the remove one, so if you were looking for the function that creates the driver name sysfs attribute, that's cpuidle_add_driver_sysfs(9) β€” don't mix them up bestie, they're siblings not twins πŸ’€

and that's the page!! shipped from ./drivers/cpuidle in October 2026, filed under cpuidle_remove_driver_sysfs(9) πŸ“…πŸ’– go forth and remove that sysfs attribute responsibly. mwah. 🫢✨

πŸ“¦ where this page comes from