platform/x86: acer-wmi: Don't use ACPI_EXCEPTION()
authorHans de Goede <hdegoede@redhat.com>
Thu, 4 Feb 2021 14:02:05 +0000 (15:02 +0100)
committerHans de Goede <hdegoede@redhat.com>
Thu, 4 Feb 2021 14:15:19 +0000 (15:15 +0100)
commitef14f0e82c9b225ae19476fa5bed89d55b2a96d5
treeb3fd47848217e094f1fc020397bbfdb9c28ca07d
parent9aa422f676c9bbd6621080924c135707510096bc
platform/x86: acer-wmi: Don't use ACPI_EXCEPTION()

ACPI_EXCEPTION is only intended for internal use by the ACPICA code.

ACPI_EXCEPTION was being used here to change the apci_status code into
something human-readable, use acpi_format_exception() for this instead,
which is the proper way to do this outside of ACPICA.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20210204140205.268344-1-hdegoede@redhat.com
drivers/platform/x86/acer-wmi.c