]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI: processor_perflib: Cleanup print messages
authorHanjun Guo <guohanjun@huawei.com>
Wed, 2 Jun 2021 08:54:32 +0000 (16:54 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 7 Jun 2021 13:36:46 +0000 (15:36 +0200)
commit53210c04d7277ec719007ac3731b6f01eab4691b
tree824ebe92ac7df4c930cdbb17ef111c04393f86bd
parente62bcdecb358e146b112caa7508d6132d32a0e9c
ACPI: processor_perflib: Cleanup print messages

The log messages in processor_perflib.c is not in consistency,
we have some printk() calls with PREFIX, but some are not; we
use pr_*() functions without prefix. So add pr_fmt() and unify
them with pr_*() functions.

While at it, fix some obvious coding style issues when going
through the functions.

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