]> git.baikalelectronics.ru Git - kernel.git/commit
x86/acpi: Switch to pr_xxx log functions
authorHeiner Kallweit <hkallweit1@gmail.com>
Thu, 13 May 2021 13:33:41 +0000 (15:33 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 17 May 2021 15:30:52 +0000 (17:30 +0200)
commit35ac1a1dd4e3cd62d224699d82a92e6be3ae324c
tree1c03d567801bd2a6cb25d21991a03ad2c6b0ac28
parent87d9f8b77b5545016adf3cfc494e6ea6899acca7
x86/acpi: Switch to pr_xxx log functions

Switching to pr_debug et al has two benefits:
- We don't have to add PREFIX to each log statement
- Debug output is suppressed except DEBUG is defined or dynamic
  debugging is enabled for the respective code piece.

In addition ensure that longer messages aren't split to multiple lines
in source code, checkpatch complains otherwise.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
Reviewed-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/x86/kernel/acpi/boot.c