From: Frank Munzert Date: Tue, 7 Jul 2009 14:37:07 +0000 (+0200) Subject: [S390] shutdown actions: save/return rc from init function X-Git-Tag: v2.6.31-rc3~23^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81088819d588ba4d2dce3bf083fafc91974b14e0;p=pandora-kernel.git [S390] shutdown actions: save/return rc from init function We always returned -EINVAL when setting of a shutdown action failed. This was misleading, if for example the hardware did not support the shutdown action. Now we save each shutdown action's init return code and return it when the action is being set. Signed-off-by: Frank Munzert Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed