mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 04:34:03 +02:00
ACPI: scan: Set power.no_pm for all struct acpi_device objects
Now that drivers do not bind to ACPI device objects, there is no reason for them to be included directly in power management in any way, so set power.no_pm for all of them. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Danilo Krummrich <dakr@kernel.org> Link: https://patch.msgid.link/2436882.ElGaqSPkdT@rafael.j.wysocki
This commit is contained in:
parent
541b293ab1
commit
beaff265a4
|
|
@ -1811,6 +1811,7 @@ void acpi_init_device_object(struct acpi_device *device, acpi_handle handle,
|
|||
device->dev.release = release;
|
||||
device->dev.bus = &acpi_bus_type;
|
||||
device->dev.groups = acpi_groups;
|
||||
device_set_pm_not_required(&device->dev);
|
||||
fwnode_init(&device->fwnode, &acpi_device_fwnode_ops);
|
||||
acpi_set_device_status(device, ACPI_STA_DEFAULT);
|
||||
acpi_device_get_busid(device);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user