mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-01 11:21:51 +00:00
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
|
@ -334,7 +334,7 @@ int acpi_processor_cst_has_changed(struct acpi_processor *pr);
|
|||
int acpi_processor_hotplug(struct acpi_processor *pr);
|
||||
int acpi_processor_power_exit(struct acpi_processor *pr,
|
||||
struct acpi_device *device);
|
||||
int acpi_processor_suspend(struct acpi_device * device, pm_message_t state);
|
||||
int acpi_processor_suspend(struct acpi_device * device);
|
||||
int acpi_processor_resume(struct acpi_device * device);
|
||||
extern struct cpuidle_driver acpi_idle_driver;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue