summaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorYue Haibing <yuehaibing@huawei.com>2023-08-14 21:56:23 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-08-17 19:51:44 +0200
commit638f139fda4f4fcb1b244b4ac755a4c4f0a6c4a2 (patch)
tree1d1a9ece197f17161883cc6e53a6e657590e400f /drivers/acpi
parent588b51ddc7dc96c4876e71bc155bd38a6bd59a14 (diff)
downloadlinux-638f139fda4f4fcb1b244b4ac755a4c4f0a6c4a2.tar.gz
linux-638f139fda4f4fcb1b244b4ac755a4c4f0a6c4a2.tar.bz2
linux-638f139fda4f4fcb1b244b4ac755a4c4f0a6c4a2.zip
ACPI: Remove assorted unused declarations of functions
acpi_create_dir()/acpi_remove_dir() are never implemented since the beginning of git history. Commit f8d31489629c ("ACPICA: Debugger: Convert some mechanisms to OSPM specific") declared but never implemented acpi_run_debugger(). Commit 781d737c7466 ("ACPI: Drop power resources driver") removed acpi_power_init() but not its declaration. Signed-off-by: Yue Haibing <yuehaibing@huawei.com> [ rjw: Subject edits ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/internal.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/acpi/internal.h b/drivers/acpi/internal.h
index 21ec31b78216..956aed5afded 100644
--- a/drivers/acpi/internal.h
+++ b/drivers/acpi/internal.h
@@ -123,7 +123,6 @@ int __acpi_device_uevent_modalias(const struct acpi_device *adev,
/* --------------------------------------------------------------------------
Power Resource
-------------------------------------------------------------------------- */
-int acpi_power_init(void);
void acpi_power_resources_list_free(struct list_head *list);
int acpi_extract_power_resources(union acpi_object *package, unsigned int start,
struct list_head *list);