linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drivers: power: fix typo in documentation
@ 2015-12-29 10:03 Manuel Pégourié-Gonnard
  2015-12-29 16:43 ` Pavel Machek
  0 siblings, 1 reply; 3+ messages in thread
From: Manuel Pégourié-Gonnard @ 2015-12-29 10:03 UTC (permalink / raw)
  To: linux-pm
  Cc: linux-kernel, rjw, len.brown, pavel, gregkh,
	Manuel Pégourié-Gonnard, trivial

The documentation for detach() said attach.

Signed-off-by: Manuel Pégourié-Gonnard <mpg@elzevir.fr>
Cc: trivial@kernel.org
---
 drivers/base/power/common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/base/power/common.c b/drivers/base/power/common.c
index f32b802b98f4..f48e33385b3e 100644
--- a/drivers/base/power/common.c
+++ b/drivers/base/power/common.c
@@ -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
-- 
2.6.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-01-03  0:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-29 10:03 [PATCH] drivers: power: fix typo in documentation Manuel Pégourié-Gonnard
2015-12-29 16:43 ` Pavel Machek
2016-01-03  0:57   ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).