]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI: utils: Clean up printing messages
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 20 Jan 2021 19:00:32 +0000 (20:00 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 4 Feb 2021 18:11:44 +0000 (19:11 +0100)
commit151429089fd1c783cd730bfb205ec47ac453a7e4
treea811185022b028e4eb5e750c1b1aceee9f3688ab
parentbedb8a6fbe0bf6587e797edfff172b17db0d46dc
ACPI: utils: Clean up printing messages

Replace all of the ACPI_DEBUG_PRINT() instances in utils.c with
pr_debug() and acpi_handle_debug(), drop the _COMPONENT and
ACPI_MODULE_NAME() definitions that are not used any more and
replace direct printk() invocations with pr_debug() calls (the log
level in there is way excessive).

Also add a special pr_fmt() definition, but this only affects the
pr_debug() messages mentioned above.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/utils.c