• Rafael J. Wysocki's avatar
    ACPI: processor: Get rid of ACPICA message printing · 52af99c3
    Rafael J. Wysocki authored
    The ACPI_DEBUG_PRINT() and ACPI_EXCEPTION() macros are used for
    message printing in the ACPICA code and they should not be used
    elsewhere.  Special configuration (either kernel command line or
    sysfs-based) is needed to see the messages printed by them and
    the format of those messages is also special and convoluted.
    
    For this reason, replace all of the ACPI_DEBUG_PRINT() and
    ACPI_EXCEPTION() instances in the ACPI processor driver with
    corresponding dev_*(), acpi_handle_*() and pr_*() calls depending
    on the context in which they appear.
    
    Also drop the ACPI_PROCESSOR_COMPONENT definition that is not going
    to be necessary any more.
    Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
    Reviewed-by: default avatarHanjun Guo <guohanjun@huawei.com>
    52af99c3
processor_throttling.c 30.8 KB