diff options
author | YueHaibing <yuehaibing@huawei.com> | 2020-09-01 14:47:16 +0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2020-09-25 12:36:34 +0200 |
commit | 749626fa099085ca77f3ff05a8efcb3b87721724 (patch) | |
tree | 2a425ddd9c13563e1994983619fbdfdb5ed384dc /include/linux/acpi.h | |
parent | ba4f184e126b751d1bffad5897f263108befc780 (diff) | |
download | lwn-749626fa099085ca77f3ff05a8efcb3b87721724.tar.gz lwn-749626fa099085ca77f3ff05a8efcb3b87721724.zip |
ACPI: Remove three unused inline functions
There is no callers in tree.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
[ rjw: Subject edit ]
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 | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h index 1e4cdc6c7ae2..7ce2235f99f9 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h @@ -977,8 +977,6 @@ int acpi_subsys_runtime_suspend(struct device *dev); int acpi_subsys_runtime_resume(struct device *dev); int acpi_dev_pm_attach(struct device *dev, bool power_on); #else -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_subsys_runtime_suspend(struct device *dev) { return 0; } static inline int acpi_subsys_runtime_resume(struct device *dev) { return 0; } static inline int acpi_dev_pm_attach(struct device *dev, bool power_on) @@ -1216,13 +1214,6 @@ static inline int acpi_node_prop_get(const struct fwnode_handle *fwnode, return -ENXIO; } -static inline int acpi_dev_prop_get(const struct acpi_device *adev, - const char *propname, - void **valptr) -{ - return -ENXIO; -} - static inline int acpi_dev_prop_read_single(const struct acpi_device *adev, const char *propname, enum dev_prop_type proptype, |