cpufreq: governor: register notifier from cs_init()
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 3 Jun 2015 10:27:11 +0000 (15:57 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 15 Jun 2015 13:37:12 +0000 (15:37 +0200)
commit8e0484d2b38aeb2bcce0a7b32e6b33d72c11ad85
tree3c4541f5167436e5f7ddb05984e5634ce8cc6daf
parent37829029837b2f653fd407cbd6796dcf124c1ed8
cpufreq: governor: register notifier from cs_init()

Notifiers are required only for conservative governor and the common
governor code is unnecessarily polluted with that. Handle that from
cs_init/exit() instead of cpufreq_governor_dbs().

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Preeti U Murthy <preeti@linux.vnet.ibm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq_conservative.c
drivers/cpufreq/cpufreq_governor.c
drivers/cpufreq/cpufreq_governor.h
drivers/cpufreq/cpufreq_ondemand.c
This page took 0.025574 seconds and 5 git commands to generate.