From: Zhao Yakui Date: Tue, 15 Dec 2009 14:01:57 +0000 (+0800) Subject: ACPI: Use the return result of ACPI lid notifier chain correctly X-Git-Tag: v2.6.33-rc1~47^2~9^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13c199c0d0cf78b27592991129fb8cbcfc5164de;p=pandora-kernel.git ACPI: Use the return result of ACPI lid notifier chain correctly On some laptops it will return NOTIFY_OK(non-zero) when calling the ACPI LID notifier. Then it is used as the result of ACPI LID resume function, which will complain the following warning message in course of suspend/resume: >PM: Device PNP0C0D:00 failed to resume: error 1 This patch is to eliminate the above warning message. http://bugzilla.kernel.org/show_bug.cgi?id=14782 Signed-off-by: Zhao Yakui Signed-off-by: Len Brown --- Reading git-diff-tree failed