From: Rafael J. Wysocki Date: Tue, 15 Jul 2014 20:02:11 +0000 (+0200) Subject: PM / sleep: Simplify sleep states sysfs interface code X-Git-Tag: omap-for-v3.17/fixes-against-rc2~142^2~8^3~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d431cbc53cb787a7f82d7d2fe0af65156db4d27a;p=pandora-kernel.git 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 --- Reading git-diff-tree failed