cpuidle_remove_driver_sysfs(9)
π 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:
cpuidle_add_interface(9)cpuidle_remove_interface(9)cpuidle_add_state_sysfs(9)cpuidle_remove_state_sysfs(9)cpuidle_add_driver_sysfs(9)cpuidle_add_device_sysfs(9)cpuidle_remove_device_sysfs(9)cpuidle_add_sysfs(9)cpuidle_remove_sysfs(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms