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/acpi/processor_idle.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/acpi/processor_idle.c')
-rw-r--r-- | drivers/acpi/processor_idle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c index 47a8caa89dbe..e28af8d38239 100644 --- a/drivers/acpi/processor_idle.c +++ b/drivers/acpi/processor_idle.c | |||
@@ -241,7 +241,7 @@ static void acpi_idle_bm_rld_restore(void) | |||
241 | acpi_write_bit_register(ACPI_BITREG_BUS_MASTER_RLD, saved_bm_rld); | 241 | acpi_write_bit_register(ACPI_BITREG_BUS_MASTER_RLD, saved_bm_rld); |
242 | } | 242 | } |
243 | 243 | ||
244 | int acpi_processor_suspend(struct acpi_device * device, pm_message_t state) | 244 | int acpi_processor_suspend(struct acpi_device * device) |
245 | { | 245 | { |
246 | if (acpi_idle_suspend == 1) | 246 | if (acpi_idle_suspend == 1) |
247 | return 0; | 247 | return 0; |