aboutsummaryrefslogtreecommitdiff
path: root/drivers/thermal/db8500_thermal.c
diff options
context:
space:
mode:
authorKevin Hilman <khilman@linaro.org>2015-06-29 10:37:23 -0700
committerKevin Hilman <khilman@linaro.org>2015-06-29 10:37:23 -0700
commit590e935df0c94b2d7a4584bb26906666176a6133 (patch)
treebb004c31d277423c7eb0f6bd2c0c1e9d8428e9f2 /drivers/thermal/db8500_thermal.c
parent774b195c03ac44c0dbc4e81a3f194779692ce3bd (diff)
parent91760bceff1f3f5860ff49c14194567f972352e6 (diff)
Diffstat (limited to 'drivers/thermal/db8500_thermal.c')
-rw-r--r--drivers/thermal/db8500_thermal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/db8500_thermal.c b/drivers/thermal/db8500_thermal.c
index 1e3b3bf9f993..e3ccc2218eb3 100644
--- a/drivers/thermal/db8500_thermal.c
+++ b/drivers/thermal/db8500_thermal.c
@@ -76,7 +76,7 @@ static int db8500_cdev_bind(struct thermal_zone_device *thermal,
upper = lower = i > max_state ? max_state : i;
ret = thermal_zone_bind_cooling_device(thermal, i, cdev,
- upper, lower);
+ upper, lower, THERMAL_WEIGHT_DEFAULT);
dev_info(&cdev->device, "%s bind to %d: %d-%s\n", cdev->type,
i, ret, ret ? "fail" : "succeed");