]> bbs.cooldavid.org Git - net-next-2.6.git/commit
intel_idle: delete power_policy modparam, and choose substate functions
authorLen Brown <len.brown@intel.com>
Fri, 23 Jul 2010 20:04:46 +0000 (16:04 -0400)
committerLen Brown <len.brown@intel.com>
Fri, 23 Jul 2010 20:04:46 +0000 (16:04 -0400)
commit0394c6676e3fa48587fbe4821390d3264672c530
tree68b4a83288aeeaacec0f94d8fe90ecedbc4fb2f3
parentc4236282e5921a410e8f074fec795b6ca0af36d5
intel_idle: delete power_policy modparam, and choose substate functions

The idea behind power policy was that it would start off as a modparam,
and then hook into the new "global" in-kernel power vs energy tunable.
But that tunable isn't happening, so delete the hook here.

With the policy hook gone, the sub-state choice functions
do not do anything useful, so delete them from the critical path.

To handle sub-states in the future, we will advertise them
with dedicated cpuidle_state entries.  That is necessary
because some of the sub-states will have substantially different
properties than their peer sub-states.

Signed-off-by: Len Brown <len.brown@intel.com>
drivers/idle/intel_idle.c