diff options
author | Joshua Primero <jprimero@nvidia.com> | 2012-10-22 18:11:34 -0700 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-11-01 10:58:39 -0700 |
commit | c502af3cf4264cff106203cef6277be3f594d810 (patch) | |
tree | 2cbc5c01159aa214e3428640331ffe4e2b2f02b7 /arch/arm/mach-tegra/tegra11_soctherm.c | |
parent | 6a6c671fb6e45511457e1ebb60272bd373dbba10 (diff) |
ARM: tegra: soctherm: Update bind function
Updated bind function to reflect new Thermal API.
bug 1059470
Change-Id: I77bff7ac080d663018a938ccd2fa887884ab84a5
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/159964
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/tegra11_soctherm.c')
-rw-r--r-- | arch/arm/mach-tegra/tegra11_soctherm.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/tegra11_soctherm.c b/arch/arm/mach-tegra/tegra11_soctherm.c index ab4e90f5a01c..b8e0b513da71 100644 --- a/arch/arm/mach-tegra/tegra11_soctherm.c +++ b/arch/arm/mach-tegra/tegra11_soctherm.c @@ -347,7 +347,9 @@ static int soctherm_bind(struct thermal_zone_device *thz, return 0; if (plat_data.therm[index].cdev == cdevice) - return thermal_zone_bind_cooling_device(thz, 0, cdevice); + return thermal_zone_bind_cooling_device(thz, 0, cdevice, + THERMAL_NO_LIMIT, + THERMAL_NO_LIMIT); return 0; } |