aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/ti-soc-thermal
diff options
context:
space:
mode:
authorEduardo Valentin <eduardo.valentin@ti.com>2013-04-08 08:19:08 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-04-08 10:35:08 -0700
commit67b4c474228fd8a451377615046d4048aee89c3c (patch)
treefb314d51ee2301276d06349a8268e996c2900950 /drivers/staging/ti-soc-thermal
parent2c014c841e665e9705a12488666c73af0ad52a7a (diff)
downloadlinux-67b4c474228fd8a451377615046d4048aee89c3c.tar.gz
staging: ti-soc-thermal: fix min/max TODO (already done)
Min/Max cooling state are defined by registration helper function, if no specific limits are passed. No need to change this code. Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ti-soc-thermal')
-rw-r--r--drivers/staging/ti-soc-thermal/ti-thermal-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/ti-soc-thermal/ti-thermal-common.c b/drivers/staging/ti-soc-thermal/ti-thermal-common.c
index 092b39d15d2..18f6fb90230 100644
--- a/drivers/staging/ti-soc-thermal/ti-thermal-common.c
+++ b/drivers/staging/ti-soc-thermal/ti-thermal-common.c
@@ -124,9 +124,9 @@ static int ti_thermal_bind(struct thermal_zone_device *thermal,
id = data->sensor_id;
- /* TODO: bind with min and max states */
/* Simple thing, two trips, one passive another critical */
return thermal_zone_bind_cooling_device(thermal, 0, cdev,
+ /* bind with min and max states defined by cpu_cooling */
THERMAL_NO_LIMIT,
THERMAL_NO_LIMIT);
}