devm_pm_domain_detach_list(9)
okay bestie, this is the devm_pm_domain_detach_list(9) page from the Kernel API Manual β yes, we're doing kernel devres cleanup and it's highkey iconic π
β¨
β¨ NAME β¨
devm_pm_domain_detach_list β the devres-enabled version of dev_pm_domain_detach_list. π
β¨ SYNOPSIS β¨
bestie, here's the exact signature, do not freestyle it:
void devm_pm_domain_detach_list (void *_list );
β¨ ARGUMENTS β¨
_listβ the list of PM domains to detach. π«Ά
β¨ DESCRIPTION β¨
This function reverses the actions from devm_pm_domain_attach_list. It will be invoked during the remove phase from drivers implicitly if the driver uses devm_pm_domain_attach_list to attach the PM domains. So it's the cleanup bestie for that devres-enabled attach-list situation β the way it undoes the attach-list actions is literally the whole point, iykyk. πβ¨
vibe check: if a driver attached PM domains with devm_pm_domain_attach_list, this is the implicit-remove-phase cleanup that reverses those actions. periodt. π
β¨ SEE ALSO β¨
Kernel file ./drivers/base/power/common.c β also peep these:
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_attach_list(9)dev_pm_domain_detach(9)dev_pm_domain_detach_list(9)dev_pm_domain_start(9)dev_pm_domain_set(9)dev_pm_domain_set_performance_state(9)
xoxo, your kernel bestie π
β source spot: ./drivers/base/power, date: October 2026, and the page title is devm_pm_domain_detach_list(9) β¨
π¦ 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