[v2,5/5] ACPI: PM: Drop unused function and function header
diff mbox series

Message ID 1977575.pFh3yxvZUW@kreacher
State New, archived
Headers show
  • PM: PCI/ACPI: Hibernation handling fixes
Related show

Commit Message

Rafael J. Wysocki July 1, 2019, 10:55 a.m. UTC
From: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

Remove a leftover function header and a static inline stub with no
users from the ACPI header file.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

-> v2: No changes.

 include/linux/acpi.h |    2 --
 1 file changed, 2 deletions(-)

diff mbox series

Index: linux-pm/include/linux/acpi.h
--- linux-pm.orig/include/linux/acpi.h
+++ linux-pm/include/linux/acpi.h
@@ -913,7 +913,6 @@  static inline int acpi_dev_pm_attach(str
 #if defined(CONFIG_ACPI) && defined(CONFIG_PM_SLEEP)
-int acpi_dev_suspend_late(struct device *dev);
 int acpi_subsys_prepare(struct device *dev);
 void acpi_subsys_complete(struct device *dev);
 int acpi_subsys_suspend_late(struct device *dev);
@@ -922,7 +921,6 @@  int acpi_subsys_suspend(struct device *d
 int acpi_subsys_freeze(struct device *dev);
 int acpi_subsys_poweroff(struct device *dev);
-static inline int acpi_dev_resume_early(struct device *dev) { return 0; }
 static inline int acpi_subsys_prepare(struct device *dev) { return 0; }
 static inline void acpi_subsys_complete(struct device *dev) {}
 static inline int acpi_subsys_suspend_late(struct device *dev) { return 0; }