summaryrefslogtreecommitdiff
path: root/include/linux/pm_domain.h
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2014-09-03 14:52:25 +0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-09-09 02:46:12 +0400
commitd971f0b0eaaf3f2086bf21bbd64f7ea7e2f28459 (patch)
treed691a149e9844f3d77a77b5b9eae8fdfebf03909 /include/linux/pm_domain.h
parentd47e6464ae6c96735d4706f5cb0537fe717b6b00 (diff)
downloadlinux-d971f0b0eaaf3f2086bf21bbd64f7ea7e2f28459.tar.xz
PM / domains: Remove genpd_queue_power_off_work() API
There are no active users of this API. Let's remove it and if future needs shows up we could consider to have a get/put API instead. 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.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/pm_domain.h b/include/linux/pm_domain.h
index 3997af691600..c19c90b839b8 100644
--- a/include/linux/pm_domain.h
+++ b/include/linux/pm_domain.h
@@ -258,10 +258,8 @@ static inline int pm_genpd_name_add_device(const char *domain_name,
}
#ifdef CONFIG_PM_GENERIC_DOMAINS_RUNTIME
-extern void genpd_queue_power_off_work(struct generic_pm_domain *genpd);
extern void pm_genpd_poweroff_unused(void);
#else
-static inline void genpd_queue_power_off_work(struct generic_pm_domain *gpd) {}
static inline void pm_genpd_poweroff_unused(void) {}
#endif