Skip to content

Commit

Permalink
staging: ti-soc-thermal: fix min/max TODO (already done)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Eduardo Valentin authored and Greg Kroah-Hartman committed Apr 8, 2013
1 parent 2c014c8 commit 67b4c47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/ti-soc-thermal/ti-thermal-common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 67b4c47

Please sign in to comment.