diff mbox

[2/8] staging: ti-soc-thermal: fix min/max TODO (already done)

Message ID 1365423555-2669-3-git-send-email-eduardo.valentin@ti.com (mailing list archive)
State New, archived
Headers show

Commit Message

Eduardo Valentin April 8, 2013, 12:19 p.m. UTC
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>
---
 drivers/staging/ti-soc-thermal/ti-thermal-common.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff mbox

Patch

diff --git a/drivers/staging/ti-soc-thermal/ti-thermal-common.c b/drivers/staging/ti-soc-thermal/ti-thermal-common.c
index 092b39d..18f6fb9 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);
 }