From: Eduardo Valentin Date: Mon, 8 Apr 2013 12:19:08 +0000 (-0400) Subject: staging: ti-soc-thermal: fix min/max TODO (already done) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=67b4c474228fd8a451377615046d4048aee89c3c;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/ti-soc-thermal/ti-thermal-common.c b/drivers/staging/ti-soc-thermal/ti-thermal-common.c index 092b39d15d2e..18f6fb90230e 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); }