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.
Showing the changes to include/linux (1 of 2 files). Show all
Unified · Split
| @@ -760,7 +760,6 @@ extern int pm_generic_poweroff_late(struct device *dev); · 759 unmodified lines | ||
| 760 | 760 | extern int pm_generic_poweroff(struct device *dev); |
| 761 | 761 | extern void pm_generic_complete(struct device *dev); |
| 762 | 762 | |
| 763 | −extern void dev_pm_skip_next_resume_phases(struct device *dev); | |
| 764 | 763 | extern bool dev_pm_may_skip_resume(struct device *dev); |
| 765 | 764 | extern bool dev_pm_smart_suspend_and_suspended(struct device *dev); |
| 766 | 765 | |