diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-10-01 12:56:21 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-10-03 13:02:44 +0300 |
commit | 03dba278043358bbbf4f029be169e1e73d2fbe2b (patch) | |
tree | b381cb30e44849fe3cf4c8457fc81fbfb4f14903 /drivers/cpuidle/poll_state.c | |
parent | 7037b43e0076cce1c07c72540e219fb5db7ea01f (diff) | |
download | linux-03dba278043358bbbf4f029be169e1e73d2fbe2b.tar.xz |
cpuidle: menu: Replace data->predicted_us with local variable
The predicted_us field in struct menu_device is only accessed in
menu_select(), so replace it with a local variable in that function.
With that, stop using expected_interval instead of predicted_us to
store the new predicted idle duration value if it is set to the
selected state's target residency which is quite confusing.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/cpuidle/poll_state.c')
0 files changed, 0 insertions, 0 deletions