aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2015-10-06 08:27:51 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-10-12 17:27:02 -0400
commitea823c7cbffa7bae311d78761866ac4db344c89b (patch)
tree2ae9af6509ede7686d36158df912a7807e185937 /drivers/base
parentbb4b72fc63d4c1c2ccd5e5af95e48b77d6cad80c (diff)
PM / Domains: Remove pm_genpd_poweron() API
Once genpd could be configured to be built with CONFIG_PM_RUNTIME unset (nowadays CONFIG_PM), the pm_genpd_poweron() API served a purpose, since it allowed users to power on a PM domain. As such configuration no longer is supported, users shall solely rely on using some of the runtime PM APIs to power on a PM domain. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/base')
-rw-r--r--drivers/base/power/domain.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/base/power/domain.c b/drivers/base/power/domain.c
index dcd451c85c99..8724b4732e64 100644
--- a/drivers/base/power/domain.c
+++ b/drivers/base/power/domain.c
@@ -192,6 +192,8 @@ static void genpd_queue_power_off_work(struct generic_pm_domain *genpd)
192 queue_work(pm_wq, &genpd->power_off_work); 192 queue_work(pm_wq, &genpd->power_off_work);
193} 193}
194 194
195static int pm_genpd_poweron(struct generic_pm_domain *genpd);
196
195/** 197/**
196 * __pm_genpd_poweron - Restore power to a given PM domain and its masters. 198 * __pm_genpd_poweron - Restore power to a given PM domain and its masters.
197 * @genpd: PM domain to power up. 199 * @genpd: PM domain to power up.
@@ -245,7 +247,7 @@ static int __pm_genpd_poweron(struct generic_pm_domain *genpd)
245 * pm_genpd_poweron - Restore power to a given PM domain and its masters. 247 * pm_genpd_poweron - Restore power to a given PM domain and its masters.
246 * @genpd: PM domain to power up. 248 * @genpd: PM domain to power up.
247 */ 249 */
248int pm_genpd_poweron(struct generic_pm_domain *genpd) 250static int pm_genpd_poweron(struct generic_pm_domain *genpd)
249{ 251{
250 int ret; 252 int ret;
251 253