From: Rafael J. Wysocki Date: Thu, 6 Jan 2011 22:40:00 +0000 (+0100) Subject: ACPI: Always check if _PRW is present before trying to evaluate it X-Git-Tag: v2.6.38-rc1~68^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86e4e20e8a5301ff7104a4f40f35fd5bee408186;p=pandora-kernel.git ACPI: Always check if _PRW is present before trying to evaluate it Before evaluating _PRW for devices that are reported as inactive or not present by their _STA control methods we should check if those methods are actually present (otherwise the evaulation of _PRW will obviously fail and a scary message will be printed unnecessarily). Reported-by: Andreas Mohr Reported-by: Maciej Rutecki Signed-off-by: Rafael J. Wysocki Signed-off-by: Len Brown --- Reading git-diff-tree failed