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)
commit6183a684377f9340ff9460743f87f01216af3a6b
tree824ebe92ac7df4c930cdbb17ef111c04393f86bd
parent673a0796b1237d1cbe4947e711daa196858a138a
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