diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2012-06-27 17:25:38 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2012-07-01 07:30:58 -0400 |
commit | 17621e11fda095459e2f986c019f52686c7a4ffb (patch) | |
tree | b034b7594f751b49e83b61ebc58354b33cfa8fd4 /drivers/platform/x86/hp_accel.c | |
parent | 6887a4131da3adaab011613776d865f4bcfb5678 (diff) |
ACPI / PM: Drop pm_message_t argument from device suspend callback
None of the drivers implementing the ACPI device suspend callback
uses the pm_message_t argument of it, so this argument may be dropped
entirely from that callback. This will simplify switching the ACPI
bus type to PM handling based on struct dev_pm_ops.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'drivers/platform/x86/hp_accel.c')
-rw-r--r-- | drivers/platform/x86/hp_accel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/hp_accel.c b/drivers/platform/x86/hp_accel.c index 22b2dfa73148..c9e052033173 100644 --- a/drivers/platform/x86/hp_accel.c +++ b/drivers/platform/x86/hp_accel.c | |||
@@ -353,7 +353,7 @@ static int lis3lv02d_remove(struct acpi_device *device, int type) | |||
353 | 353 | ||
354 | 354 | ||
355 | #ifdef CONFIG_PM | 355 | #ifdef CONFIG_PM |
356 | static int lis3lv02d_suspend(struct acpi_device *device, pm_message_t state) | 356 | static int lis3lv02d_suspend(struct acpi_device *device) |
357 | { | 357 | { |
358 | /* make sure the device is off when we suspend */ | 358 | /* make sure the device is off when we suspend */ |
359 | lis3lv02d_poweroff(&lis3_dev); | 359 | lis3lv02d_poweroff(&lis3_dev); |