PM / Domains: Fix typo in description of genpd_dev_pm_detach()
Subsystems (4)
PATCH 1/1 PM / Domains: Fix typo in description of genpd_dev_pm_detach()
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.
--- drivers/base/power/domain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/base/power/domain.c +1 -1
@@ -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
Signature · 1 line
2.1.4
Quoted 5 lines · 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 <[email protected]>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
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
Quoted 5 lines · 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 <[email protected]>