From: Takashi Iwai <tiwai@suse.de>
Subject: hp_accel: Ignore the error from lis3lv02d_poweron() at resume
Git-commit: 7783819920ca52fc582a2782f654fe6ed373f465
Patch-mainline: 3.10-rc1
References: bnc#751903

The error in lis3lv02_poweron() is harmless in the resume path, so
we should ignore it.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

---
 drivers/platform/x86/hp_accel.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

--- a/drivers/platform/x86/hp_accel.c
+++ b/drivers/platform/x86/hp_accel.c
@@ -359,7 +359,8 @@ static int lis3lv02d_suspend(struct acpi
 
 static int lis3lv02d_resume(struct acpi_device *device)
 {
-	return lis3lv02d_poweron(&lis3_dev);
+	lis3lv02d_poweron(&lis3_dev);
+	return 0;
 }
 #else
 #define lis3lv02d_suspend NULL
