From: Rafael J. Wysocki Date: Mon, 26 May 2014 11:40:47 +0000 (+0200) Subject: PM / sleep: Add state field to pm_states[] entries X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27ddcc6596e50cb8f03d2e83248897667811d8f6;p=pandora-kernel.git 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 --- Reading git-diff-tree failed