ACPI / NUMA: Replace ACPI_DEBUG_PRINT() with pr_debug()
authorHanjun Guo <hanjun.guo@linaro.org>
Tue, 24 May 2016 22:35:32 +0000 (15:35 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 30 May 2016 12:27:07 +0000 (14:27 +0200)
commit3dda448189af1c55637628423487f607244fb669
treed93de2932b32b99e5165678851f7ea700c07d30d
parentac906a6d56b742e13f9e600c7c7879b323cfbf15
ACPI / NUMA: Replace ACPI_DEBUG_PRINT() with pr_debug()

ACPI_DEBUG_PRINT is a bit fragile in acpi/numa.c, the first thing
is that component ACPI_NUMA(0x80000000) is not described in the
Documentation/acpi/debug.txt, and even not defined in the struct
acpi_dlayer acpi_debug_layers which we can not dynamically enable/disable
it with /sys/modules/acpi/parameters/debug_layer. another thing
is that ACPI_DEBUG_OUTPUT is controlled by ACPICA which not coordinate
well with ACPI drivers.

Replace ACPI_DEBUG_PRINT() with pr_debug() in this patch as pr_debug
will do the same thing for debug purpose and it can make the code much
cleaner, also remove the related code which not needed anymore if
ACPI_DEBUG_PRINT() is gone.

Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org>
Signed-off-by: Robert Richter <rrichter@cavium.com>
Signed-off-by: David Daney <david.daney@cavium.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/numa.c