aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/scan.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2012-06-27 17:25:38 -0400
committerRafael J. Wysocki <rjw@sisk.pl>2012-07-01 07:30:58 -0400
commit17621e11fda095459e2f986c019f52686c7a4ffb (patch)
treeb034b7594f751b49e83b61ebc58354b33cfa8fd4 /drivers/acpi/scan.c
parent6887a4131da3adaab011613776d865f4bcfb5678 (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/scan.c')
-rw-r--r--drivers/acpi/scan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c
index c8a1f3b68110..ec65ec9c529f 100644
--- a/drivers/acpi/scan.c
+++ b/drivers/acpi/scan.c
@@ -296,7 +296,7 @@ static int acpi_device_suspend(struct device *dev, pm_message_t state)
296 struct acpi_driver *acpi_drv = acpi_dev->driver; 296 struct acpi_driver *acpi_drv = acpi_dev->driver;
297 297
298 if (acpi_drv && acpi_drv->ops.suspend) 298 if (acpi_drv && acpi_drv->ops.suspend)
299 return acpi_drv->ops.suspend(acpi_dev, state); 299 return acpi_drv->ops.suspend(acpi_dev);
300 return 0; 300 return 0;
301} 301}
302 302