aboutsummaryrefslogtreecommitdiff
path: root/drivers/thermal/thermal_core.h
diff options
context:
space:
mode:
authorJavi Merino <javi.merino@arm.com>2015-02-18 16:04:22 +0000
committerKevin Hilman <khilman@linaro.org>2015-06-05 15:45:46 -0700
commit68fc32238cc6579a1075e7aedecf1bd35166e70e (patch)
tree6ebc8abf728984f8c83ae2be3a2e92fbf15be553 /drivers/thermal/thermal_core.h
parentfe1c004d934a4334483596d63d08f3989b87b043 (diff)
thermal: fair_share: use the weight from the thermal instance
The fair share governor is not usable with thermal zones that use the bind op and don't populate thermal_zone_parameters, the majority of them. Now that the weight is in the thermal instance, we can use that in the fair share governor to allow every thermal zone to trivially use this governor. Furthermore, this simplifies the code. Cc: Zhang Rui <rui.zhang@intel.com> Cc: Eduardo Valentin <edubezval@gmail.com> Cc: Durgadoss R <durgadoss.r@intel.com> Reviewed-by: Durgadoss R <durgadoss.r@intel.com> Signed-off-by: Javi Merino <javi.merino@arm.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com> (cherry picked from commit 8b91e2cb24fbba3825d09a412ce2e1966e7c92d1) Signed-off-by: Kevin Hilman <khilman@linaro.org>
Diffstat (limited to 'drivers/thermal/thermal_core.h')
0 files changed, 0 insertions, 0 deletions