提交 10a0b617 编写于 作者: M Mika Westerberg 提交者: Rafael J. Wysocki

ACPI / power: add missing newline to debug messages

There are few places in power.c where debug messages have no newline
at the end.  Reading such debug messages from dmesg is not fun, so
fix this by adding the missing newlines.
Signed-off-by: NMika Westerberg <mika.westerberg@linux.intel.com>
Cc: All <stable@vger.kernel.org>
Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
上级 85eb9827
...@@ -279,7 +279,7 @@ static int acpi_power_on_unlocked(struct acpi_power_resource *resource) ...@@ -279,7 +279,7 @@ static int acpi_power_on_unlocked(struct acpi_power_resource *resource)
if (resource->ref_count++) { if (resource->ref_count++) {
ACPI_DEBUG_PRINT((ACPI_DB_INFO, ACPI_DEBUG_PRINT((ACPI_DB_INFO,
"Power resource [%s] already on", "Power resource [%s] already on\n",
resource->name)); resource->name));
} else { } else {
result = __acpi_power_on(resource); result = __acpi_power_on(resource);
...@@ -325,7 +325,7 @@ static int acpi_power_off_unlocked(struct acpi_power_resource *resource) ...@@ -325,7 +325,7 @@ static int acpi_power_off_unlocked(struct acpi_power_resource *resource)
if (!resource->ref_count) { if (!resource->ref_count) {
ACPI_DEBUG_PRINT((ACPI_DB_INFO, ACPI_DEBUG_PRINT((ACPI_DB_INFO,
"Power resource [%s] already off", "Power resource [%s] already off\n",
resource->name)); resource->name));
return 0; return 0;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册