mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-18 11:47:28 +07:00
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>
This commit is contained in:
parent
8a5776a5f4
commit
8055af0a4f
@ -868,17 +868,12 @@ int acpi_dev_runtime_suspend(struct device *dev);
|
|||||||
int acpi_dev_runtime_resume(struct device *dev);
|
int acpi_dev_runtime_resume(struct device *dev);
|
||||||
int acpi_subsys_runtime_suspend(struct device *dev);
|
int acpi_subsys_runtime_suspend(struct device *dev);
|
||||||
int acpi_subsys_runtime_resume(struct device *dev);
|
int acpi_subsys_runtime_resume(struct device *dev);
|
||||||
struct acpi_device *acpi_dev_pm_get_node(struct device *dev);
|
|
||||||
int acpi_dev_pm_attach(struct device *dev, bool power_on);
|
int acpi_dev_pm_attach(struct device *dev, bool power_on);
|
||||||
#else
|
#else
|
||||||
static inline int acpi_dev_runtime_suspend(struct device *dev) { return 0; }
|
static inline int acpi_dev_runtime_suspend(struct device *dev) { return 0; }
|
||||||
static inline int acpi_dev_runtime_resume(struct device *dev) { return 0; }
|
static inline int acpi_dev_runtime_resume(struct device *dev) { return 0; }
|
||||||
static inline int acpi_subsys_runtime_suspend(struct device *dev) { return 0; }
|
static inline int acpi_subsys_runtime_suspend(struct device *dev) { return 0; }
|
||||||
static inline int acpi_subsys_runtime_resume(struct device *dev) { return 0; }
|
static inline int acpi_subsys_runtime_resume(struct device *dev) { return 0; }
|
||||||
static inline struct acpi_device *acpi_dev_pm_get_node(struct device *dev)
|
|
||||||
{
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
static inline int acpi_dev_pm_attach(struct device *dev, bool power_on)
|
static inline int acpi_dev_pm_attach(struct device *dev, bool power_on)
|
||||||
{
|
{
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
|
Loading…
Reference in New Issue
Block a user