diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-03-05 21:43:54 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-03-08 21:10:30 +0300 |
commit | ebf1bef3612f6b49ad52c1312f41bd2161774bfc (patch) | |
tree | d5b2f938bc42aff7fa12e21d3ec1764d3450dfb0 /drivers/acpi/acpica/rsdumpinfo.c | |
parent | 94e17d606ec9a4c3af7421b79e4fb235d07861b4 (diff) | |
download | linux-ebf1bef3612f6b49ad52c1312f41bd2161774bfc.tar.xz |
hwmon: acpi_power_meter: Get rid of ACPICA message printing
Use acpi_evaluation_failure_warn() introduced previously instead of
the ACPICA-specific ACPI_EXCEPTION() macro to log warning messages
regarding ACPI object evaluation failures and use dev_err() instead
of ACPI_EXCEPTION() to log _PMC package parsing failures, which is
consistent with the other messages printed by the code in question.
Next, drop the ACPI_MODULE_NAME() definition only used by the ACPICA
message printing macro.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/acpi/acpica/rsdumpinfo.c')
0 files changed, 0 insertions, 0 deletions