pm_runtime_remove(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 pm_runtime_remove β€” bestie, it's time to say goodbye πŸ’…

okay so real talk: this page is from the Kernel API Manual, and it's about the one little cleanup step you do when a device is peacing out of the device hierarchy forever. no cap, it's a short one, so let's go 🫢


✨ NAME ✨

pm_runtime_remove β€” get everything ready for yeeting a device out of the device hierarchy πŸŽ€


🌈 SYNOPSIS 🌈

void pm_runtime_remove (struct device *dev );

that's it. that's the whole signature. she's simple, she's iconic πŸ‘‘


πŸ’– ARGUMENTS πŸ’–

  • dev β€” the device object that's being removed from the device hierarchy. this is the main character of the operation, the one getting un-alived (from the hierarchy) πŸ¦‹

πŸ”₯ SEE ALSO πŸ”₯

bestie there are so many siblings, this function has a whole extended family, and honestly? they all ate. go read these next, iykyk:

and if you wanna see where the magic actually lives, it's right here in the kernel file:

./drivers/base/power/runtime.c

ngl the vibes here are very "last day of school energy" β€” the device is leaving, and pm_runtime_remove is the friend helping pack the boxes πŸŽ€βœ¨

that's the whole page, bestie, you ate that πŸ’œ β€” mwah, this one's served fresh from ./drivers/base/power, dated October 2026 πŸ¦‹β­

πŸ“¦ where this page comes from