cpuidle: Remove CPUIDLE_FLAG_IGNORE and dev->prepare()
[pandora-kernel.git] / drivers / cpuidle / cpuidle.c
index 88bd121..f66bcf9 100644 (file)
@@ -83,16 +83,6 @@ int cpuidle_idle_call(void)
        hrtimer_peek_ahead_timers();
 #endif
 
-       /*
-        * Call the device's prepare function before calling the
-        * governor's select function.  ->prepare gives the device's
-        * cpuidle driver a chance to update any dynamic information
-        * of its cpuidle states for the current idle period, e.g.
-        * state availability, latencies, residencies, etc.
-        */
-       if (dev->prepare)
-               dev->prepare(dev);
-
        /* ask the governor for the next state */
        next_state = cpuidle_curr_governor->select(dev);
        if (need_resched()) {