cpufreq: Don't call __cpufreq_governor() for drivers without target()
authorViresh Kumar <viresh.kumar@linaro.org>
Sun, 21 Apr 2013 22:48:03 +0000 (00:48 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 21 Apr 2013 22:48:03 +0000 (00:48 +0200)
commit820c6ca293e99ae225dc9dd7e0e689c444b08f92
treebb4baa6b7e3d27f7495d248ba3e0235470751ac2
parent70eb0855b2f8fcf61f9f47626b9fa70e7b45ab06
cpufreq: Don't call __cpufreq_governor() for drivers without target()

Some cpufreq drivers implement their own governor and so don't need
us to call generic governors interface via __cpufreq_governor(). Few
recent commits haven't obeyed this law well and we saw some
regressions.

This patch is an attempt to fix the above issue.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reported-and-tested-by: Sedat Dilek <sedat.dilek@gmail.com>
Tested-by: Dirk Brandewie <dirk.brandewie@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq.c