aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorGravatar Bob Moore <robert.moore@intel.com> 2020-02-14 10:47:59 -0800
committerGravatar Rafael J. Wysocki <rafael.j.wysocki@intel.com> 2020-02-16 10:19:52 +0100
commit464fa2bd52c190d0b7bde7c2c1e0f0af7a6c33d4 (patch)
tree9f6987823ab298121636ff52d73a1d29f3f20d74 /drivers
parentACPICA: Enable sleep button on ACPI legacy wake (diff)
downloadlinux-464fa2bd52c190d0b7bde7c2c1e0f0af7a6c33d4.tar.gz
linux-464fa2bd52c190d0b7bde7c2c1e0f0af7a6c33d4.tar.bz2
linux-464fa2bd52c190d0b7bde7c2c1e0f0af7a6c33d4.zip
ACPICA: Table Manager: Update comments in a function header
Update acpi_get_table_header to remove text stating that the caller must unmap any returned memory. ACPICA commit 4f3a235cf0044b2d91958b1f99b4ca824c63f948 Link: https://github.com/acpica/acpica/commit/4f3a235c Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Erik Kaneda <erik.kaneda@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/acpi/acpica/tbxface.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/acpi/acpica/tbxface.c b/drivers/acpi/acpica/tbxface.c
index f8403d480318..7490429ddbf6 100644
--- a/drivers/acpi/acpica/tbxface.c
+++ b/drivers/acpi/acpica/tbxface.c
@@ -202,14 +202,14 @@ ACPI_EXPORT_SYMBOL_INIT(acpi_reallocate_root_table)
*
* PARAMETERS: signature - ACPI signature of needed table
* instance - Which instance (for SSDTs)
- * out_table_header - The pointer to the table header to fill
+ * out_table_header - The pointer to the where the table header
+ * is returned
*
- * RETURN: Status and pointer to mapped table header
+ * RETURN: Status and a copy of the table header
*
- * DESCRIPTION: Finds an ACPI table header.
- *
- * NOTE: Caller is responsible in unmapping the header with
- * acpi_os_unmap_memory
+ * DESCRIPTION: Finds and returns an ACPI table header. Caller provides the
+ * memory where a copy of the header is to be returned
+ * (fixed length).
*
******************************************************************************/
acpi_status