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>
This commit is contained in:
parent
6887a4131d
commit
17621e11fd
8 changed files with 9 additions and 11 deletions
|
@ -353,7 +353,7 @@ static int lis3lv02d_remove(struct acpi_device *device, int type)
|
|||
|
||||
|
||||
#ifdef CONFIG_PM
|
||||
static int lis3lv02d_suspend(struct acpi_device *device, pm_message_t state)
|
||||
static int lis3lv02d_suspend(struct acpi_device *device)
|
||||
{
|
||||
/* make sure the device is off when we suspend */
|
||||
lis3lv02d_poweroff(&lis3_dev);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue