ACPICA: Add "const" to some functions that return fixed strings
authorLABBE Corentin <clabbe.montjoie@gmail.com>
Tue, 29 Dec 2015 05:54:04 +0000 (13:54 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 1 Jan 2016 02:26:45 +0000 (03:26 +0100)
commitc118abc55464fee761be3ea32b4d90db3a9d1bbe
tree09c4063f98a7db5b0c466d84be97b9cb03b87ff7
parent33d3a2abbd7afd51d8dcf1e35756e13e6b89f2cb
ACPICA: Add "const" to some functions that return fixed strings

ACPICA commit 28645f8a113f346c8db103a4f7565fcba88c746f

Most of the "get_name" - style functions can return "const char *"
with no ill side-effects. Original linux patch from
LABBE Corentin <clabbe.montjoie@gmail.com> and backported to
ACPICA.

Link: https://github.com/acpica/acpica/commit/28645f8a
Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/acutils.h
drivers/acpi/acpica/nsxfname.c
drivers/acpi/acpica/utdecode.c
drivers/acpi/acpica/uthex.c