• Rafael J. Wysocki's avatar
    ACPI: Drop power resources driver · 781d737c
    Rafael J. Wysocki authored
    The ACPI power resources driver is not very useful, because the only
    thing it really does is to restore the state of the power resources
    that were "on" before system suspend or hibernation, but that may be
    achieved in a different way.
    
    Drop the ACPI power resources driver entirely and add
    acpi_resume_power_resources() that will walk the list of all
    registered power resources during system resume and turn on the ones
    that were "on" before the preceding system suspend or hibernation.
    Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
    781d737c
power.c 18.3 KB