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)
commit9df3921e026532eb3bd2904745d990c0a9f0b4e4
tree002f9acdbff4a76370ae1ba74c4861793b3ca64d
parentc3b46c73264b03000d1e18b22f5caf63332547c9
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