diff options
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/hp_accel.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/platform/x86/hp_accel.c b/drivers/platform/x86/hp_accel.c index e64a7a870d42..a8e43cf70fac 100644 --- a/drivers/platform/x86/hp_accel.c +++ b/drivers/platform/x86/hp_accel.c | |||
@@ -362,7 +362,8 @@ static int lis3lv02d_suspend(struct device *dev) | |||
362 | 362 | ||
363 | static int lis3lv02d_resume(struct device *dev) | 363 | static int lis3lv02d_resume(struct device *dev) |
364 | { | 364 | { |
365 | return lis3lv02d_poweron(&lis3_dev); | 365 | lis3lv02d_poweron(&lis3_dev); |
366 | return 0; | ||
366 | } | 367 | } |
367 | 368 | ||
368 | static SIMPLE_DEV_PM_OPS(hp_accel_pm, lis3lv02d_suspend, lis3lv02d_resume); | 369 | static SIMPLE_DEV_PM_OPS(hp_accel_pm, lis3lv02d_suspend, lis3lv02d_resume); |