]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
staging: ti-soc-thermal: fix min/max TODO (already done)
authorEduardo Valentin <eduardo.valentin@ti.com>
Mon, 8 Apr 2013 12:19:08 +0000 (08:19 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Apr 2013 17:35:08 +0000 (10:35 -0700)
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>
drivers/staging/ti-soc-thermal/ti-thermal-common.c

index 092b39d15d2ed5903df9f0a4e60d54771b6d19c7..18f6fb90230e8aa34c64269fb121ed366da4f151 100644 (file)
@@ -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);
 }