summaryrefslogtreecommitdiff
path: root/drivers/phy
diff options
context:
space:
mode:
authorChander Kashyap <chander.kashyap@linaro.org>2014-04-22 12:38:04 (GMT)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-04-30 23:17:03 (GMT)
commitbed4d597a0f99b380d24ab3a9da47b62cbf1ad0e (patch)
treec8c0d87d29a6d2dc79fdc33431851e2e3405cc2e /drivers/phy
parent3836785a1bdcd6706c68ad46bf53adc0b057b310 (diff)
downloadlinux-bed4d597a0f99b380d24ab3a9da47b62cbf1ad0e.tar.xz
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/phy')
0 files changed, 0 insertions, 0 deletions