OSDN Git Service

cpufreq: SCMI: Don't validate the frequency table twice
authorViresh Kumar <viresh.kumar@linaro.org>
Tue, 3 Apr 2018 10:07:38 +0000 (15:37 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 10 Apr 2018 06:39:55 +0000 (08:39 +0200)
commitd983af9864b273e2fa19f564e6fa80d67638e539
tree014a4c12d4700e85b523e1ea540d6685d14312af
parent8913315e9459b146e5888ab5138e10daa061b885
cpufreq: SCMI: Don't validate the frequency table twice

The cpufreq core is already validating the CPU frequency table after
calling the ->init() callback of the cpufreq drivers and the drivers
don't need to do the same anymore. Though they need to set the
policy->freq_table field directly from the ->init() callback now.

Stop validating the frequency table from SCMI driver.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/scmi-cpufreq.c