mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-03-31 19:35:30 +00:00
ACPI / scan: Change the level of _DEP-related messages to KERN_DEBUG
Two _DEP-related failure messages are printed as dev_err() which is
unnecessary and annoying. Use dev_dbg() to print them.
While at it, one of the messages should actually say it is related
to _DEP, so modify it to that effect.
Fixes: 40e7fcb192
(ACPI: Add _DEP support to fix battery issue on Asus T100TA)
Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
40e7fcb192
commit
80167a24a2
1 changed files with 2 additions and 2 deletions
|
@ -2107,7 +2107,7 @@ static void acpi_device_dep_initialize(struct acpi_device *adev)
|
||||||
status = acpi_evaluate_reference(adev->handle, "_DEP", NULL,
|
status = acpi_evaluate_reference(adev->handle, "_DEP", NULL,
|
||||||
&dep_devices);
|
&dep_devices);
|
||||||
if (ACPI_FAILURE(status)) {
|
if (ACPI_FAILURE(status)) {
|
||||||
dev_err(&adev->dev, "Failed to evaluate _DEP.\n");
|
dev_dbg(&adev->dev, "Failed to evaluate _DEP.\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2117,7 +2117,7 @@ static void acpi_device_dep_initialize(struct acpi_device *adev)
|
||||||
|
|
||||||
status = acpi_get_object_info(dep_devices.handles[i], &info);
|
status = acpi_get_object_info(dep_devices.handles[i], &info);
|
||||||
if (ACPI_FAILURE(status)) {
|
if (ACPI_FAILURE(status)) {
|
||||||
dev_err(&adev->dev, "Error reading device info\n");
|
dev_dbg(&adev->dev, "Error reading _DEP device info\n");
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue