Colin Cross 56cfbf74a1 cpuidle: refactor out cpuidle_enter_state
Split the code to enter a state and update the stats into a helper
function, cpuidle_enter_state, and export it.  This function will
be called by the coupled state code to handle entering the safe
state and the final coupled state.

Reviewed-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Tested-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Tested-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Colin Cross <ccross@android.com>
Reviewed-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Len Brown <len.brown@intel.com>
2012-06-02 00:48:31 -04:00
..
2012-05-03 17:16:52 -07:00
2012-03-27 16:03:32 -07:00
2012-04-12 15:36:33 -07:00
2012-05-13 11:33:09 -07:00
2012-03-30 00:09:17 -07:00
2012-05-14 10:43:24 -07:00
2012-04-18 13:15:51 -07:00
2012-05-07 12:26:28 -04:00