diff options
author | Tian Tao <tiantao6@hisilicon.com> | 2020-09-27 04:14:28 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2020-10-02 20:10:24 +0300 |
commit | 05de068614ac4b5bc37a0f53df713cf4475ae924 (patch) | |
tree | e61ec503f40b0598fa5456dd23dd7f7d6cc09577 /drivers/acpi/acpi_dbg.c | |
parent | a1b8638ba1320e6684aa98233c15255eb803fac7 (diff) | |
download | linux-05de068614ac4b5bc37a0f53df713cf4475ae924.tar.xz |
ACPI: scan: Replace ACPI_DEBUG_PRINT() with pr_debug()
Fix the following W=1 kernel build warning(s):
drivers/acpi/scan.c: In function ‘acpi_bus_get_wakeup_device_flags’:
drivers/acpi/scan.c:902:43: warning: suggest braces around empty body in
an ‘if’ statement [-Wempty-body]
by using pr_debug() to instead of the ACPI_DEBUG_PRINT() macro, which
should only be used by ACPICA code, to print a debug message.
Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
[ rjw: Subject and changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpi_dbg.c')
0 files changed, 0 insertions, 0 deletions