]> git.baikalelectronics.ru Git - kernel.git/commit
PM / Domains: Rename stop_ok to suspend_ok for the genpd governor
authorUlf Hansson <ulf.hansson@linaro.org>
Thu, 31 Mar 2016 09:21:25 +0000 (11:21 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 22 Apr 2016 00:29:17 +0000 (02:29 +0200)
commita2f728b3700e78d03cd0920e0bce76eba89d7812
tree002f9acdbff4a76370ae1ba74c4861793b3ca64d
parent29117ef53592e44617a5e92e9234f15273b7ba82
PM / Domains: Rename stop_ok to suspend_ok for the genpd governor

The genpd governor validates the latency constraints to find out whether
it's acceptable to runtime suspend a device. Earlier this validation was
made to know whether it was okay to invoke the ->stop() callback for the
device, hence the governor used the name "stop_ok" for the related
variables.

To clarify the code around this, let's rename these variables from
"stop_ok" to "suspend_ok".

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/domain.c
drivers/base/power/domain_governor.c
include/linux/pm_domain.h