]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI: osl: Remove the duplicated PREFIX for message printing
authorHanjun Guo <guohanjun@huawei.com>
Wed, 2 Jun 2021 08:54:29 +0000 (16:54 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 7 Jun 2021 13:36:45 +0000 (15:36 +0200)
commit7cb5a65467220860e0226980827032b46660192c
tree0b7cba69ffe1f9b442ac098a1c38524b50c32b4c
parent591f8b08e87d1fa9a1752b4fdc0196236d1f64ea
ACPI: osl: Remove the duplicated PREFIX for message printing

We have pr_fmt() in osl.c, so pr_err(PREFIX ...) is duplicated
and wrong, fix it by removing the PREFIX.

Also remove the using of PREFIX in WARN() and just add the plain
"ACPI: " in message to keep it unchanged.

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