diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-03-05 19:43:54 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-03-08 19:10:30 +0100 |
commit | ebf1bef3612f6b49ad52c1312f41bd2161774bfc (patch) | |
tree | d5b2f938bc42aff7fa12e21d3ec1764d3450dfb0 /scripts/makelst | |
parent | IIO: acpi-als: Get rid of ACPICA message printing (diff) | |
download | linux-ebf1bef3612f6b49ad52c1312f41bd2161774bfc.tar.xz linux-ebf1bef3612f6b49ad52c1312f41bd2161774bfc.zip |
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 'scripts/makelst')
0 files changed, 0 insertions, 0 deletions