From: Akinobu Mita Date: Fri, 8 Jul 2011 18:53:36 +0000 (+0200) Subject: PM: Improve error code of pm_notifier_call_chain() X-Git-Tag: v3.1-rc1~304^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0c077a8b7f9dce590c760a7b2f3c417dffa52d1;p=pandora-kernel.git PM: Improve error code of pm_notifier_call_chain() This enables pm_notifier_call_chain() to get the actual error code in the callback rather than always assume -EINVAL by converting all PM notifier calls to return encapsulate error code with notifier_from_errno(). Signed-off-by: Akinobu Mita Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed