mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
ACPI / scan: Move power state initialization to a separate routine
To reduce indentation level and improve code readability, move the initialization code related to device power states from acpi_bus_get_power_flags() to a new routine, acpi_bus_init_power_state(). Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
993cbe595d
commit
f33ce56836
1 changed files with 46 additions and 41 deletions
Loading…
Add table
Add a link
Reference in a new issue