From: Jon Hunter Date: Thu, 27 Aug 2015 09:17:00 +0000 (+0100) Subject: PM / Domains: Fix typo in description of genpd_dev_pm_detach() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8bb6944e5aabaf9b7977502667a6981733564f85;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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. Signed-off-by: Jon Hunter Acked-by: Geert Uytterhoeven Acked-by: Kevin Hilman Signed-off-by: Rafael J. Wysocki --- diff --git a/drivers/base/power/domain.c b/drivers/base/power/domain.c index 6d465a9352f1..416720159e96 100644 --- a/drivers/base/power/domain.c +++ b/drivers/base/power/domain.c @@ -1890,7 +1890,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