diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-07-15 22:02:11 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-07-21 13:41:33 +0200 |
commit | d431cbc53cb787a7f82d7d2fe0af65156db4d27a (patch) | |
tree | d97b5744f4eae1bfa41ab2cc16820173ffc3aef2 /firmware | |
parent | 9a3c4145af32125c5ee39c0272662b47307a8323 (diff) |
PM / sleep: Simplify sleep states sysfs interface code
Simplify the sleep states sysfs interface /sys/power/state code by
redefining pm_states[] as an array of pointers to constant strings
such that only the entries corresponding to valid states are set.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions