]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
ACPI: scan: Clean up printing messages
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 20 Jan 2021 18:59:51 +0000 (19:59 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 4 Feb 2021 18:11:44 +0000 (19:11 +0100)
commite52d9d8c08644129cbc7df04f965c6505a53baeb
tree5e587caf2daf67d03ee465fd7eb2ee53f793bba3
parentee98460b2ff90fad5ece2f380c77b7ea3b3e622f
ACPI: scan: Clean up printing messages

Replace all of the ACPI_DEBUG_PRINT() and ACPI_EXCEPTION() instances
in scan.c with acpi_handle_debug() and acpi_handle_info(), respectively,
and drop the _COMPONENT and ACPI_MODULE_NAME() definitions that
are not used any more.

While at it, drop the redundant "Memory allocation error" message
from acpi_add_single_object() and clean up the list of local variables
in that function.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reported-by: kernel test robot <lkp@intel.com>
drivers/acpi/scan.c