PM / Domains: Rename functions in genpd for power on/off
authorUlf Hansson <ulf.hansson@linaro.org>
Thu, 8 Dec 2016 13:45:20 +0000 (14:45 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 27 Jan 2017 00:30:31 +0000 (01:30 +0100)
commit86e12eac1f7f84b03512ecfa110c48b9204e6286
treeb832a69097f6f2902b081f42ae5e06f2b768d633
parent7a308bb3016f57e5be11a677d15b821536419d36
PM / Domains: Rename functions in genpd for power on/off

Currently the mix of genpd_poweron(), genpd_power_on(),
genpd_sync_poweron() and the ->power_on() callback, makes
a bit difficult to follow the path of execution. The similar
applies to the functions dealing with power off.

In a way to improve this understanding, let's do the following renaming:

genpd_power_on() ->  _genpd_power_on()
genpd_poweron() -> genpd_power_on()
genpd_sync_poweron() -> genpd_sync_power_on()

genpd_power_off() -> _genpd_power_off()
genpd_poweroff() -> genpd_power_off()
genpd_sync_poweroff() -> genpd_sync_power_off()
genpd_poweroff_unused() -> genpd_power_off_unused()

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