Searched hist:"56 a7ff75cd08987812209971e319f78156ea2bb1" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | cpufreq.h | diff 56a7ff75cd08987812209971e319f78156ea2bb1 Thu Oct 22 06:57:45 CDT 2020 Rafael J. Wysocki <rafael.j.wysocki@intel.com> 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>
|
/openbmc/linux/drivers/cpufreq/ |
H A D | cpufreq.c | diff 56a7ff75cd08987812209971e319f78156ea2bb1 Thu Oct 22 06:57:45 CDT 2020 Rafael J. Wysocki <rafael.j.wysocki@intel.com> 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>
|