diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2017-10-06 03:08:34 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-10-09 22:13:25 -0400 |
commit | 8055af0a4fddb45a8cd925fb9bc71f4b52628c9a (patch) | |
tree | 7e03a78d62d9fc8d4c60a913e1684a3253c69a57 /include/linux/acpi.h | |
parent | 8a5776a5f49812d29fe4b2d0a2d71675c3facf3f (diff) |
ACPI / PM: Remove stale function header
acpi_dev_pm_get_node() isn't used or implemented, so remove it.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux/acpi.h')
-rw-r--r-- | include/linux/acpi.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h index 502af53ec012..3b89b4fe6812 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h | |||
@@ -868,17 +868,12 @@ int acpi_dev_runtime_suspend(struct device *dev); | |||
868 | int acpi_dev_runtime_resume(struct device *dev); | 868 | int acpi_dev_runtime_resume(struct device *dev); |
869 | int acpi_subsys_runtime_suspend(struct device *dev); | 869 | int acpi_subsys_runtime_suspend(struct device *dev); |
870 | int acpi_subsys_runtime_resume(struct device *dev); | 870 | int acpi_subsys_runtime_resume(struct device *dev); |
871 | struct acpi_device *acpi_dev_pm_get_node(struct device *dev); | ||
872 | int acpi_dev_pm_attach(struct device *dev, bool power_on); | 871 | int acpi_dev_pm_attach(struct device *dev, bool power_on); |
873 | #else | 872 | #else |
874 | static inline int acpi_dev_runtime_suspend(struct device *dev) { return 0; } | 873 | static inline int acpi_dev_runtime_suspend(struct device *dev) { return 0; } |
875 | static inline int acpi_dev_runtime_resume(struct device *dev) { return 0; } | 874 | static inline int acpi_dev_runtime_resume(struct device *dev) { return 0; } |
876 | static inline int acpi_subsys_runtime_suspend(struct device *dev) { return 0; } | 875 | static inline int acpi_subsys_runtime_suspend(struct device *dev) { return 0; } |
877 | static inline int acpi_subsys_runtime_resume(struct device *dev) { return 0; } | 876 | static inline int acpi_subsys_runtime_resume(struct device *dev) { return 0; } |
878 | static inline struct acpi_device *acpi_dev_pm_get_node(struct device *dev) | ||
879 | { | ||
880 | return NULL; | ||
881 | } | ||
882 | static inline int acpi_dev_pm_attach(struct device *dev, bool power_on) | 877 | static inline int acpi_dev_pm_attach(struct device *dev, bool power_on) |
883 | { | 878 | { |
884 | return -ENODEV; | 879 | return -ENODEV; |