ACPI: processor_throttling: Cleanup the printing messages
authorHanjun Guo <guohanjun@huawei.com>
Wed, 2 Jun 2021 08:54:33 +0000 (16:54 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 7 Jun 2021 13:36:46 +0000 (15:36 +0200)
commit4140054af069be3a7c3fd82dafaccc51fb52b1b6
tree42f8d3fbbc3e1cd5f16eeecbd7afad668991dfe2
parent6183a684377f9340ff9460743f87f01216af3a6b
ACPI: processor_throttling: Cleanup the printing messages

The log messages in processor_throttling.c is not in consistency,
we have some printk() calls with PREFIX, but some are not; also 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_throttling.c