[PATCH] Driver core: hande sysdev suspend failure
authorShaohua Li <shaohua.li@intel.com>
Thu, 11 Aug 2005 02:37:39 +0000 (10:37 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Sep 2005 23:03:12 +0000 (16:03 -0700)
commitceaeade1f94c0a1c0163906ceeaede6493a9715e
treefafff19d6510ce06e229b4cbacc1023f6845a8f7
parent91e49001b9a7fe5dc2fa5b56039fbca9aa638ccc
[PATCH] Driver core: hande sysdev suspend failure

This patch adds the return value check for sysdev suspend and does
restore in failure case. Send the patch to pm-list, but seems lost, so I
resend it.

Signed-off-by: Shaohua Li<shaohua.li@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/sys.c