commit | d431cbc53cb787a7f82d7d2fe0af65156db4d27a | [log] [tgz] |
---|---|---|
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Tue Jul 15 22:02:11 2014 +0200 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Mon Jul 21 13:41:33 2014 +0200 |
tree | d97b5744f4eae1bfa41ab2cc16820173ffc3aef2 | |
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>