commit | 27ddcc6596e50cb8f03d2e83248897667811d8f6 | [log] [tgz] |
---|---|---|
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Mon May 26 13:40:47 2014 +0200 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Mon May 26 13:40:47 2014 +0200 |
tree | 59ea73e4c3999bcb8519cdc1d5cfd695a3c019ea | |
parent | f71495f3f0c5f0801823d1235b271a4a415d3df8 [diff] |
PM / sleep: Add state field to pm_states[] entries To allow sleep states corresponding to the "mem", "standby" and "freeze" lables to be different from the pm_states[] indexes of those strings, introduce struct pm_sleep_state, consisting of a string label and a state number, and turn pm_states[] into an array of objects of that type. This modification should not lead to any functional changes. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>