• Patrick Mochel's avatar
    [power] Adapt swsusp to new PM core. Clean up heavily. · f2a93dbd
    Patrick Mochel authored
    - Split suspend/resume code into the four functions called from the PM core.
    - Remove now-duplicated code. 
    - Make sure PM core frees memory and sync's disks before we shut down devices.
    - Remove software_suspend(), in favor of pm_suspend(). 
    - Remove unused definitions from suspend.h
    f2a93dbd
power.h 885 Bytes