Skip to content

Commit

Permalink
PM / core: fix typo in documentation
Browse files Browse the repository at this point in the history
The documentation for detach() said attach.

Signed-off-by: Manuel Pégourié-Gonnard <mpg@elzevir.fr>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
  • Loading branch information
Manuel Pégourié-Gonnard authored and Rafael J. Wysocki committed Jan 1, 2016
1 parent a436b6a commit 4295733
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/base/power/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ EXPORT_SYMBOL_GPL(dev_pm_domain_attach);

/**
* dev_pm_domain_detach - Detach a device from its PM domain.
* @dev: Device to attach.
* @dev: Device to detach.
* @power_off: Used to indicate whether we should power off the device.
*
* This functions will reverse the actions from dev_pm_domain_attach() and thus
Expand Down

0 comments on commit 4295733

Please sign in to comment.