ACPICA: Constify pathname argument for acpi_get_handle()
authorSakari Ailus <sakari.ailus@linux.intel.com>
Tue, 20 Dec 2022 15:01:26 +0000 (17:01 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 30 Dec 2022 17:52:09 +0000 (18:52 +0100)
commit91fdb91ccca2b48572a1ccf1d382fd599e3e1237
treecf331c7777b08373302356da8e1152de387f9a4c
parente1d9148582ab2c3dada5c5cf8ca7531ca269fee5
ACPICA: Constify pathname argument for acpi_get_handle()

acpi_get_handle() uses the pathname argument to find a handle related to
that pathname but it does not need to modify it. Make it const, in order
to be able to pass const pathname to it.

Link: https://github.com/acpica/acpica/pull/773
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/nsxfname.c
include/acpi/acpixf.h