PM / Domains: Move genpd_power_off() above genpd_power_on()
authorUlf Hansson <ulf.hansson@linaro.org>
Fri, 17 Feb 2017 09:55:23 +0000 (10:55 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 23 Feb 2017 21:25:45 +0000 (22:25 +0100)
commit1f8728b7adc4c2b351cda886a6916087595c9125
tree7d74ebcc887cea1f499c9d77a821a810f097094e
parent16d0bf1882109da84b4b90d7ba4fc7ba18db0d67
PM / Domains: Move genpd_power_off() above genpd_power_on()

Following changes in genpd_power_on() makes it invoke genpd_power_off().
To enable these changes and avoiding to declare genpd_power_off(), let's
move its implementation above genpd_power_on(). In this way, following
changes should become easier to review.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/domain.c