summaryrefslogtreecommitdiff
path: root/drivers/acpi
diff options
context:
space:
mode:
authorHanjun Guo <guohanjun@huawei.com>2022-11-04 11:54:38 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-11-10 22:15:55 +0300
commit062c0e3670c30ba03bd6b8cb5620d1ebd40e3839 (patch)
treea002a959f92cecd2eeb7aa0e1a3da482df9ba522 /drivers/acpi
parent4125d10d5f7c157f587b041128066b105f4881a5 (diff)
downloadlinux-062c0e3670c30ba03bd6b8cb5620d1ebd40e3839.tar.xz
ACPI: tables: Fix the stale comments for acpi_locate_initial_tables()
sdt_entry[] is long gone by commit ceb6c4683902 ("ACPICA: Remove duplicate table manager"), update the comments to avoid confusion. Signed-off-by: Hanjun Guo <guohanjun@huawei.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/tables.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/acpi/tables.c b/drivers/acpi/tables.c
index cd31dfaa8260..5fbc32b802d0 100644
--- a/drivers/acpi/tables.c
+++ b/drivers/acpi/tables.c
@@ -848,12 +848,11 @@ acpi_status acpi_os_table_override(struct acpi_table_header *existing_table,
/*
* acpi_locate_initial_tables()
*
- * find RSDP, find and checksum SDT/XSDT.
- * checksum all tables, print SDT/XSDT
+ * Get the RSDP, then find and checksum all the ACPI tables.
*
- * result: sdt_entry[] is initialized
+ * result: initial_tables[] is initialized, and points to
+ * a list of ACPI tables.
*/
-
int __init acpi_locate_initial_tables(void)
{
acpi_status status;