dev_pm_domain_detach_list(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dev_pm_domain_detach_list(9) πŸ’…

okay so this is a page from the Kernel API Manual bestie, and today's main character is dev_pm_domain_detach_list β€” the function that lets your PM domains go πŸ¦‹βœ¨


🌸 NAME 🌸

dev_pm_domain_detach_list β€” detach a whole list of PM domains, all at once, no cap πŸ’…


✨ SYNOPSIS ✨

void dev_pm_domain_detach_list (struct dev_pm_domain_list *list );

πŸŽ€ ARGUMENTS πŸŽ€

  • list β€” the list of PM domains you wanna detach 🫢 like, the actual struct dev_pm_domain_list * you're handing over. That's the whole vibe.

πŸ’– DESCRIPTION πŸ’–

So this function literally reverses the actions from dev_pm_domain_attach_list. It's giving undo button, it's giving "we're so back" πŸ”₯

Typically you should invoke it during the remove phase from drivers β€” yes bestie, the cleanup era, the part where you put your toys away 🧚

⚠️ Callers must ensure proper synchronization of this function with power management callbacks. not me emphasizing this β€” the manpage is emphasizing this. do not skip the sync, i'm begging 😭

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/base/power/common.c β€” and the whole friend group πŸ’œ


aaaand that's the page πŸŽ€ brought to you by ./drivers/base/power, dated October 2026, and this lil dev_pm_domain_detach_list(9) era. go detach responsibly, bestie, ily πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from