diff options
author | 2020-04-18 18:52:30 +0200 | |
---|---|---|
committer | 2020-04-24 21:32:11 +0200 | |
commit | 76c70cb58ce30264af4b714109ee756da25d830a (patch) | |
tree | 8c0b713940902d90d8431c81756c56c832aea1cf /include/linux/pm.h | |
parent | PM: sleep: core: Rework the power.may_skip_resume handling (diff) | |
download | linux-76c70cb58ce30264af4b714109ee756da25d830a.tar.gz linux-76c70cb58ce30264af4b714109ee756da25d830a.tar.bz2 linux-76c70cb58ce30264af4b714109ee756da25d830a.zip |
PM: sleep: core: Rename dev_pm_may_skip_resume()
The name of dev_pm_may_skip_resume() may be easily confused with the
power.may_skip_resume flag which is not checked by that function, so
rename the former as dev_pm_skip_resume().
No functional impact.
Suggested-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'include/linux/pm.h')
-rw-r--r-- | include/linux/pm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/pm.h b/include/linux/pm.h index e057d1fa2469..d89b7099f241 100644 --- a/include/linux/pm.h +++ b/include/linux/pm.h @@ -758,7 +758,7 @@ 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 bool dev_pm_may_skip_resume(struct device *dev); +extern bool dev_pm_skip_resume(struct device *dev); extern bool dev_pm_smart_suspend_and_suspended(struct device *dev); #else /* !CONFIG_PM_SLEEP */ |