Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Krzysztof Kozlowski and committed by
Rafael J. Wysocki
eefa8618 ce522ba9

+4 -4
+4 -4
drivers/base/power/common.c
··· 172 172 * @dev: Device to detach. 173 173 * @power_off: Used to indicate whether we should power off the device. 174 174 * 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. 179 179 * 180 180 * Callers must ensure proper synchronization of this function with power 181 181 * management callbacks.