summaryrefslogtreecommitdiff
path: root/include/linux/pm.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-07-04 01:05:38 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-07-04 10:50:40 +0200
commit02bd45a28bf32993e396fdcfd7d7c7cdc0847ed1 (patch)
treeac5e7e822e95b599e3aabc7ba8a72bdbb0f6abc4 /include/linux/pm.h
parent99465f12babd4f3d5659b6c147bb5b9976dfe033 (diff)
downloadlwn-02bd45a28bf32993e396fdcfd7d7c7cdc0847ed1.tar.gz
lwn-02bd45a28bf32993e396fdcfd7d7c7cdc0847ed1.zip
PM: sleep: Drop dev_pm_skip_next_resume_phases()
After recent hibernation-related changes, there are no more callers of dev_pm_skip_next_resume_phases() except for the PM core itself in which it is more straightforward to run the statements from that function directly, so do that and drop it. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'include/linux/pm.h')
-rw-r--r--include/linux/pm.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/pm.h b/include/linux/pm.h
index 345d74a727e3..283fb3defe56 100644
--- a/include/linux/pm.h
+++ b/include/linux/pm.h
@@ -760,7 +760,6 @@ extern int pm_generic_poweroff_late(struct device *dev);
extern int pm_generic_poweroff(struct device *dev);
extern void pm_generic_complete(struct device *dev);
-extern void dev_pm_skip_next_resume_phases(struct device *dev);
extern bool dev_pm_may_skip_resume(struct device *dev);
extern bool dev_pm_smart_suspend_and_suspended(struct device *dev);