PM: domains: Extend dev_pm_domain_detach() doc

Mention all domain attach menthods which dev_pm_domain_detach()
reverses.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
Krzysztof Kozlowski 2022-04-01 10:49:50 +02:00 committed by Rafael J. Wysocki
parent ce522ba9ef
commit eefa861810
1 changed files with 4 additions and 4 deletions

View File

@ -172,10 +172,10 @@ EXPORT_SYMBOL_GPL(dev_pm_domain_attach_by_name);
* @dev: Device to detach. * @dev: Device to detach.
* @power_off: Used to indicate whether we should power off the device. * @power_off: Used to indicate whether we should power off the device.
* *
* This functions will reverse the actions from dev_pm_domain_attach() and * This functions will reverse the actions from dev_pm_domain_attach(),
* dev_pm_domain_attach_by_id(), thus it detaches @dev from its PM domain. * dev_pm_domain_attach_by_id() and dev_pm_domain_attach_by_name(), thus it
* Typically it should be invoked during the remove phase, either from * detaches @dev from its PM domain. Typically it should be invoked during the
* subsystem level code or from drivers. * remove phase, either from subsystem level code or from drivers.
* *
* Callers must ensure proper synchronization of this function with power * Callers must ensure proper synchronization of this function with power
* management callbacks. * management callbacks.