cpufreq:LAB:ondemand: REMOVE from LAB governor code duplicated at ondemand
authorLukasz Majewski <l.majewski@samsung.com>
Wed, 26 Feb 2014 13:07:17 +0000 (14:07 +0100)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 15 May 2014 05:27:37 +0000 (07:27 +0200)
commite1dbc7f9b7cf78d5979ae9e9599c213f003d94e8
tree610b03fb8305d4f5fe8b4f6a2393e2ba00d2a385
parent30607cb9e5f2748c7e9190d50b46fde77002b2c4
cpufreq:LAB:ondemand: REMOVE from LAB governor code duplicated at ondemand

LAB is very similar to ondemand governor in its structure.
Both use the same code for:
- governor init and exit
- demand based switching timer code
- governor specific ops

In this way the LAB can be stacked on top of ondemand governor and hence it
is possible to reuse its logic when needed.

Change-Id: I78e0da90bb2f07677fe6f8d451139107994f5a6f
Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
drivers/cpufreq/cpufreq_governor.h
drivers/cpufreq/cpufreq_lab.c
drivers/cpufreq/cpufreq_ondemand.c