cpufreq: ondemand: Rearrange od_dbs_timer() to avoid updating delay
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 11 Feb 2016 12:01:16 +0000 (17:31 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 9 Mar 2016 13:41:02 +0000 (14:41 +0100)
commita23d6d180914dd91e320283c81e4f84f028e24f4
treeef46e3c493e73f956c88df1cec9a7b750b4bc867
parentaded387b94b69aeab10e1d112bab7f82c9241527
cpufreq: ondemand: Rearrange od_dbs_timer() to avoid updating delay

Avoid extra checks in od_dbs_timer() by rearranging updates to the
local delay variable in it.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
[ rjw: Changelog ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq_ondemand.c
This page took 0.024821 seconds and 5 git commands to generate.