ACPI sysfs: remove unnecessary newline from exception
ACPI_EXCEPTION() already appends a newline, so there is no need for the invalid GPE message to include one too. Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
Родитель
bf6787ebb6
Коммит
c628423777
|
@ -498,7 +498,7 @@ static int get_status(u32 index, acpi_event_status *status,
|
||||||
result = acpi_get_gpe_device(index, handle);
|
result = acpi_get_gpe_device(index, handle);
|
||||||
if (result) {
|
if (result) {
|
||||||
ACPI_EXCEPTION((AE_INFO, AE_NOT_FOUND,
|
ACPI_EXCEPTION((AE_INFO, AE_NOT_FOUND,
|
||||||
"Invalid GPE 0x%x\n", index));
|
"Invalid GPE 0x%x", index));
|
||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
result = acpi_get_gpe_status(*handle, index, status);
|
result = acpi_get_gpe_status(*handle, index, status);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче