Skip to content

Commit 8889866

Browse files
Aaron Lugregkh
authored andcommitted
ACPI / PM: Use KERN_DEBUG when no power resources are found
commit f25b706 upstream. commit a606dac adds support to link devices which have _PRx, if a device does not have _PRx, a warning message will be printed. This commit is for ZPODD on Intel ZPODD capable platforms, on other platforms, it has no problem if there is no power resource for this device, so a warning here is not appropriate, change it to debug. Reported-by: Borislav Petkov <[email protected]> Signed-off-by: Aaron Lu <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 2bafdfd commit 8889866

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/acpi/power.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ int acpi_power_resource_register_device(struct device *dev, acpi_handle handle)
468468
return ret;
469469

470470
no_power_resource:
471-
printk(KERN_WARNING PREFIX "Invalid Power Resource to register!");
471+
printk(KERN_DEBUG PREFIX "Invalid Power Resource to register!");
472472
return -ENODEV;
473473
}
474474

0 commit comments

Comments
 (0)