Revert "cpufreq: Save user policy min/max instead of policy min/max during hotplug"

This reverts commit 214bbfe36c1c2ea964e012e37d6a03ebd6a03bb2.

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Revert "cpufreq: Always allow update of user policy"

This reverts commit 25b36985394372749ee0c20e17ba772b0873568a.
Revert "cpufreq: Optimize cpufreq_frequency_table_verify()"

This reverts commit 0a78f41fa14a5221ceb75ab3e7ce21f0a2eb0eed.
Revert "cpufreq: Manage only online cpus"

This reverts commit c3f6ef0dda73e1792bc9d74b4fd0fea0c384e5d4.
Revert "cpufreq / core: Fix typo in comment describing show_bios_limit()"

This reverts commit 8b488a63b481bb0756ea369c9692ac69a0fae194.
Revert "cpufreq: return early from __cpufreq_driver_getavg()"

This reverts commit 0db7d332354d8d613ee5097c957b7cc9e1961e5d.
Revert "cpufreq: Fix sparse warning by making local function static"

This reverts commit 786cf9bc1513b072d75c9af72c690d47f0805168.
Revert "cpufreq: Remove unnecessary initialization of a local variable"

This reverts commit 9aa61e649fda00c251d1425c4248c26e00491915.
cpufreq: Optimize cpufreq_frequency_table_verify()

cpufreq_frequency_table_verify() is rewritten here to make it more logical
and efficient.
 - merge multiple lines for variable declarations together.
 - quit early if any frequency between min/max is found.
 - don't call cpufreq_verify_within_limits() in case any valid freq is
   found as it is of no use.
 - rename the count variable as found and change its type to boolean.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>