devm_pm_runtime_enable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– devm_pm_runtime_enable(9) β€” like, the devres glow-up of pm_runtime_enable πŸ’–

okay so bestie, welcome to the Kernel API Manual ✨ this one's short and sweet and honestly kind of a lifesaver, ngl.


🌸 NAME 🌸

devm_pm_runtime_enable β€” it's literally the devres-enabled version of pm_runtime_enable. that's the whole vibe. πŸŽ€


✨ SYNOPSIS ✨

int devm_pm_runtime_enable (struct device *dev );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” the Device you're handling. that's it. that's the argument. she's low maintenance πŸ’…

πŸ’… NOTE πŸ’…

ok so here's the tea πŸ«– β€” this bad girl will also handle calling pm_runtime_dont_use_autosuspend for you at driver exit time, if needed. so you don't have to remember to clean up after yourself, she does it for you. main character energy fr fr πŸ‘‘


🌈 SEE ALSO 🌈

the kernel file lives right here, go say hi:

  • ./drivers/base/power/runtime.c

and here's the whole friend group, no cap, every single one of them 🫢:


and that's the whole page bestie, you ate that πŸ’– this little gem came from ./drivers/base/power, dated October 2026, and it's filed under devm_pm_runtime_enable(9) β€” go forth and manage your runtime power, icon βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from