summaryrefslogtreecommitdiff
path: root/include/linux/pm_domain.h
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2014-09-03 14:52:30 +0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-09-09 02:46:13 +0400
commit0f574d4c3a7a325cbbef28ee738dedca9851e957 (patch)
treef5132cb07d0b640205a8b701e5deec4622f446c5 /include/linux/pm_domain.h
parentf1bf45c70ffdcf048d046da4ad4611315f1a15bf (diff)
downloadlinux-0f574d4c3a7a325cbbef28ee738dedca9851e957.tar.xz
PM / domains: Remove default_stop_ok() API
There are currently no need to export default_stop_ok() as an API, instead let's keep it local to the PM domain governor. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Reviewed-by: Kevin Hilman <khilman@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux/pm_domain.h')
-rw-r--r--include/linux/pm_domain.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/pm_domain.h b/include/linux/pm_domain.h
index c19c90b839b8..3b59f296e6ec 100644
--- a/include/linux/pm_domain.h
+++ b/include/linux/pm_domain.h
@@ -151,8 +151,6 @@ extern void pm_genpd_init(struct generic_pm_domain *genpd,
extern int pm_genpd_poweron(struct generic_pm_domain *genpd);
extern int pm_genpd_name_poweron(const char *domain_name);
-extern bool default_stop_ok(struct device *dev);
-
extern struct dev_power_governor pm_domain_always_on_gov;
#else
@@ -231,10 +229,6 @@ static inline int pm_genpd_name_poweron(const char *domain_name)
{
return -ENOSYS;
}
-static inline bool default_stop_ok(struct device *dev)
-{
- return false;
-}
#define simple_qos_governor NULL
#define pm_domain_always_on_gov NULL
#endif