Rafael J. Wysocki f86b15a1e6 ACPI: thermal: Clean up printing messages
Replace the ACPI_DEBUG_PRINT() instances in thermal.c with
acpi_handle_debug() calls and modify the ACPI_THERMAL_TRIPS_EXCEPTION()
macro in there to use acpi_handle_info() internally,  which among other
things causes the excessive log level of the messages printed by it to
be increased.

Drop the _COMPONENT and ACPI_MODULE_NAME() definitions that are not
used any more from thermal.c, drop the no longer needed
ACPI_THERMAL_COMPONENT definition from the headers and update the
documentation accordingly.

While at it, add a pr_fmt() definition to thermal.c, drop the PREFIX
definition from there and replace some pr_warn() calls with pr_info()
or acpi_handle_info() to reduce the excessive log level and (in the
latter case) facilitate easier identification of the message source.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Hanjun Guo <guohanjun@huawei.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
2021-02-04 19:45:46 +01:00
..
2021-01-24 11:05:48 -08:00
2021-01-29 13:50:06 -08:00
2020-12-18 12:38:28 -08:00
2021-01-28 09:14:58 -08:00
2021-01-14 20:56:56 +00:00
2020-12-16 16:38:41 -08:00
2020-12-24 12:18:11 -08:00
2021-01-31 11:57:37 -08:00
2020-12-07 10:08:14 +01:00
2020-12-15 16:06:14 -08:00
2020-12-02 22:35:44 +01:00
2021-01-01 12:58:07 -08:00
2021-01-12 21:23:55 +01:00
2021-01-05 15:50:36 -08:00
2020-12-09 19:26:02 -06:00
2021-01-29 13:50:06 -08:00
2021-01-26 19:15:54 +01:00
2020-12-16 13:34:31 -08:00
2020-12-25 20:17:40 -08:00
2020-12-15 22:50:12 +11:00
2020-12-19 11:51:32 -08:00
2020-12-16 16:38:41 -08:00
2020-12-16 16:38:41 -08:00
2021-01-30 16:39:36 -08:00
2021-01-25 12:53:48 +00:00
2020-12-10 10:45:36 +01:00
2021-01-30 17:42:42 -08:00
2020-12-20 10:44:05 -08:00
2021-01-05 13:30:28 -08:00
2020-12-18 12:38:28 -08:00
2020-12-09 19:44:34 +01:00
2020-12-23 15:01:49 -08:00
2021-01-28 10:08:08 -08:00