summaryrefslogtreecommitdiff
path: root/drivers/cpuidle/cpuidle.c
diff options
context:
space:
mode:
authorChander Kashyap <chander.kashyap@linaro.org>2014-04-22 18:08:04 +0530
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-05-01 01:17:03 +0200
commitbed4d597a0f99b380d24ab3a9da47b62cbf1ad0e (patch)
treec8c0d87d29a6d2dc79fdc33431851e2e3405cc2e /drivers/cpuidle/cpuidle.c
parent3836785a1bdcd6706c68ad46bf53adc0b057b310 (diff)
cpuidle / menu: move repeated correction factor check to init
In menu_select function we check for correction factor every time. If it is zero we are initializing to unity. Hence move it to init function and initialise by unity, hence avoid repeated comparisons. Signed-off-by: Chander Kashyap <chander.kashyap@linaro.org> Reviewed-by: Tuukka Tikkanen <tuukka.tikkanen@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpuidle/cpuidle.c')
0 files changed, 0 insertions, 0 deletions