* [PATCH] PM / Domains: Fix typo in description of genpd_dev_pm_detach()
@ 2015-08-27 9:17 Jon Hunter
2015-08-27 11:35 ` Geert Uytterhoeven
2015-08-28 17:33 ` Kevin Hilman
0 siblings, 2 replies; 3+ messages in thread
From: Jon Hunter @ 2015-08-27 9:17 UTC (permalink / raw)
To: Rafael J. Wysocki, Kevin Hilman, Ulf Hansson; +Cc: linux-pm, Jon Hunter
The function genpd_dev_pm_detach() detaches a device from a PM domain,
however, in the description, the "dev" argument for the function is
described as the device to "attach" instead of "detach". Correct this.
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
---
drivers/base/power/domain.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/base/power/domain.c b/drivers/base/power/domain.c
index 7666a1cbaf95..27888a90ca98 100644
--- a/drivers/base/power/domain.c
+++ b/drivers/base/power/domain.c
@@ -1889,7 +1889,7 @@ EXPORT_SYMBOL_GPL(of_genpd_get_from_provider);
/**
* genpd_dev_pm_detach - Detach a device from its PM domain.
- * @dev: Device to attach.
+ * @dev: Device to detach.
* @power_off: Currently not used
*
* Try to locate a corresponding generic PM domain, which the device was
--
2.1.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] PM / Domains: Fix typo in description of genpd_dev_pm_detach()
2015-08-27 9:17 [PATCH] PM / Domains: Fix typo in description of genpd_dev_pm_detach() Jon Hunter
@ 2015-08-27 11:35 ` Geert Uytterhoeven
2015-08-28 17:33 ` Kevin Hilman
1 sibling, 0 replies; 3+ messages in thread
From: Geert Uytterhoeven @ 2015-08-27 11:35 UTC (permalink / raw)
To: Jon Hunter; +Cc: Rafael J. Wysocki, Kevin Hilman, Ulf Hansson, Linux PM list
On Thu, Aug 27, 2015 at 11:17 AM, Jon Hunter <jonathanh@nvidia.com> wrote:
> The function genpd_dev_pm_detach() detaches a device from a PM domain,
> however, in the description, the "dev" argument for the function is
> described as the device to "attach" instead of "detach". Correct this.
>
> Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] PM / Domains: Fix typo in description of genpd_dev_pm_detach()
2015-08-27 9:17 [PATCH] PM / Domains: Fix typo in description of genpd_dev_pm_detach() Jon Hunter
2015-08-27 11:35 ` Geert Uytterhoeven
@ 2015-08-28 17:33 ` Kevin Hilman
1 sibling, 0 replies; 3+ messages in thread
From: Kevin Hilman @ 2015-08-28 17:33 UTC (permalink / raw)
To: Jon Hunter; +Cc: Rafael J. Wysocki, Ulf Hansson, linux-pm
Jon Hunter <jonathanh@nvidia.com> writes:
> The function genpd_dev_pm_detach() detaches a device from a PM domain,
> however, in the description, the "dev" argument for the function is
> described as the device to "attach" instead of "detach". Correct this.
>
> Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Acked-by: Kevin Hilman <khilman@linaro.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-08-28 17:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-27 9:17 [PATCH] PM / Domains: Fix typo in description of genpd_dev_pm_detach() Jon Hunter
2015-08-27 11:35 ` Geert Uytterhoeven
2015-08-28 17:33 ` Kevin Hilman
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).