dev_pm_domain_detach_list(9)
π 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 actualstruct 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 π
dev_pm_get_subsys_data(9)dev_pm_put_subsys_data(9)dev_pm_domain_attach(9)dev_pm_domain_attach_by_id(9)dev_pm_domain_attach_by_name(9)dev_pm_domain_attach_list(9)devm_pm_domain_detach_list(9)devm_pm_domain_attach_list(9)dev_pm_domain_detach(9)dev_pm_domain_start(9)dev_pm_domain_set(9)dev_pm_domain_set_performance_state(9)
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
- 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