]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI: reboot: Unify the message printing
authorHanjun Guo <guohanjun@huawei.com>
Wed, 2 Jun 2021 08:54:34 +0000 (16:54 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 7 Jun 2021 13:36:46 +0000 (15:36 +0200)
commitb2fd996abe669ecfb607b9bcb4462fe2d916787e
tree5ff36aa299d012c6fc5ce83519b431dd463cdc4b
parenta1b10e14aadb40b6be28b03330eba6a0d2a61b05
ACPI: reboot: Unify the message printing

The meesage printing in this file is mixed with pr_*() and
printk() but with no prefix and no pr_fmt() defined.

Intoduce pr_fmt() and use pr_*() macros to replace printk(),
to generate a unified format string for prefix.

Signed-off-by: Hanjun Guo <guohanjun@huawei.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/reboot.c