Skip to content

Commit eefa861

Browse files
krzkrafaeljw
authored andcommitted
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>
1 parent ce522ba commit eefa861

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

drivers/base/power/common.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -172,10 +172,10 @@ EXPORT_SYMBOL_GPL(dev_pm_domain_attach_by_name);
172172
* @dev: Device to detach.
173173
* @power_off: Used to indicate whether we should power off the device.
174174
*
175-
* This functions will reverse the actions from dev_pm_domain_attach() and
176-
* dev_pm_domain_attach_by_id(), thus it detaches @dev from its PM domain.
177-
* Typically it should be invoked during the remove phase, either from
178-
* subsystem level code or from drivers.
175+
* This functions will reverse the actions from dev_pm_domain_attach(),
176+
* dev_pm_domain_attach_by_id() and dev_pm_domain_attach_by_name(), thus it
177+
* detaches @dev from its PM domain. Typically it should be invoked during the
178+
* remove phase, either from subsystem level code or from drivers.
179179
*
180180
* Callers must ensure proper synchronization of this function with power
181181
* management callbacks.

0 commit comments

Comments
 (0)