ACPI: bus: Constify acpi_companion_match() returned value
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 26 Jun 2023 11:00:23 +0000 (14:00 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 29 Jun 2023 09:40:55 +0000 (11:40 +0200)
commit86fca926c042138c7defc94e1b55b5f29ca4fa13
tree922eaa5e684ea8a8988e81d2ca3700f7dc3b8eda
parentbb6950556d4b1dd1226c1f09e84b53cb37e5340f
ACPI: bus: Constify acpi_companion_match() returned value

acpi_companion_match() doesn't alter the contents of the passed
parameter, so we don't expect that returned value can be altered
either. So constify it.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/bus.c
drivers/acpi/device_sysfs.c
drivers/acpi/internal.h