diff options
| author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-10-01 11:56:21 +0200 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-10-03 12:02:44 +0200 |
| commit | 03dba278043358bbbf4f029be169e1e73d2fbe2b (patch) | |
| tree | b381cb30e44849fe3cf4c8457fc81fbfb4f14903 /include/linux/fpga/fpga-bridge.h | |
| parent | 7037b43e0076cce1c07c72540e219fb5db7ea01f (diff) | |
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 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions
