commit | bed4d597a0f99b380d24ab3a9da47b62cbf1ad0e | [log] [tgz] |
---|---|---|
author | Chander Kashyap <chander.kashyap@linaro.org> | Tue Apr 22 18:08:04 2014 +0530 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Thu May 01 01:17:03 2014 +0200 |
tree | c8c0d87d29a6d2dc79fdc33431851e2e3405cc2e | |
parent | 3836785a1bdcd6706c68ad46bf53adc0b057b310 [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>