linux/Documentation/devicetree/bindings/cpufreq
Viresh Kumar 1bf8cc3d01 cpufreq: cpu0: OPPs can be populated at runtime
OPPs can be populated statically, via DT, or added at run time with
dev_pm_opp_add().

While this driver handles the first case correctly, it would fail to populate
OPPs added at runtime. Because call to of_init_opp_table() would fail as there
are no OPPs in DT and probe will return early.

To fix this, remove error checking and call dev_pm_opp_init_cpufreq_table()
unconditionally.

Update bindings as well.

Suggested-by: Stephen Boyd <sboyd@codeaurora.org>
Tested-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2014-07-16 15:12:52 +02:00
..
arm_big_little_dt.txt cpufreq: ARM big LITTLE: Add generic cpufreq driver and its DT glue 2013-04-02 15:26:32 +02:00
cpufreq-cpu0.txt cpufreq: cpu0: OPPs can be populated at runtime 2014-07-16 15:12:52 +02:00
cpufreq-exynos5440.txt cpufreq: exynos: Add cpufreq driver for exynos5440 2013-04-10 13:19:26 +02:00
cpufreq-spear.txt cpufreq: SPEAr: Add CPUFreq driver 2012-11-27 14:05:26 +01:00