ACPI: nvs: Unify the message printing
authorHanjun Guo <guohanjun@huawei.com>
Wed, 2 Jun 2021 08:54:28 +0000 (16:54 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 7 Jun 2021 13:36:45 +0000 (15:36 +0200)
commit4f59927d5de483f99d26bbf0c3e8089adc9f139e
treeef1f8d5187b18c83327cf5cbf206cce9e341a5df
parente2935abb3a3ae88f5ab832158d6ed10c599a871f
ACPI: nvs: Unify the message printing

The message printing in nvs.c is mixed with pr_*() and
printk(), but with no prefix and also no pr_fmt() defined.

Introduce 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/nvs.c