commit | 56a7ff75cd08987812209971e319f78156ea2bb1 | [log] [tgz] |
---|---|---|
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Thu Oct 22 13:57:45 2020 +0200 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Mon Nov 02 18:32:39 2020 +0100 |
tree | a8dd7db37b17d0c10327bf90833a56136ffba104 | |
parent | 3cea11cd5e3b00d91caf0b4730194039b45c5891 [diff] |
cpufreq: Drop restore_freq from struct cpufreq_policy The restore_freq field in struct cpufreq_policy is only used by __target_index() in one place and a local variable in that function may as well be used instead of it, so drop it and modify __target_index() accordingly. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>