[RFC 3/3] PM / hibernate: Wire up system-power framework

2017-01-30 Thread Thierry Reding
From: Thierry Reding Use the system-power framework's equivalent to test for power off capability instead of relying on the globally defined pm_power_off() function pointer. The system-power framework implements a fallback that relies on this global function in case no

[RFC 3/3] PM / hibernate: Wire up system-power framework

2017-01-30 Thread Thierry Reding
From: Thierry Reding Use the system-power framework's equivalent to test for power off capability instead of relying on the globally defined pm_power_off() function pointer. The system-power framework implements a fallback that relies on this global function in case no system power chips have