aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/thermal/exynos_thermal.c
diff options
context:
space:
mode:
authorDurgadoss R <durgadoss.r@intel.com>2012-09-18 11:04:56 +0530
committerZhang Rui <rui.zhang@intel.com>2012-11-05 13:59:57 +0800
commit50125a9b27dd09e9afdc1b8712ba0b3859886c68 (patch)
treedfd4e7ea8eb792fb725a3528ec929125c2432ea3 /drivers/thermal/exynos_thermal.c
parentThermal: Add platform level information to thermal.h (diff)
downloadlinux-dev-50125a9b27dd09e9afdc1b8712ba0b3859886c68.tar.xz
linux-dev-50125a9b27dd09e9afdc1b8712ba0b3859886c68.zip
Thermal: Pass zone parameters as argument to tzd_register
This patch adds the thermal zone parameter as an argument to the tzd_register() function call; and updates other drivers using this function. Signed-off-by: Durgadoss R <durgadoss.r@intel.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'drivers/thermal/exynos_thermal.c')
-rw-r--r--drivers/thermal/exynos_thermal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/exynos_thermal.c b/drivers/thermal/exynos_thermal.c
index 6dd29e4ce36b..7772d1603769 100644
--- a/drivers/thermal/exynos_thermal.c
+++ b/drivers/thermal/exynos_thermal.c
@@ -451,7 +451,7 @@ static int exynos_register_thermal(struct thermal_sensor_conf *sensor_conf)
th_zone->cool_dev_size++;
th_zone->therm_dev = thermal_zone_device_register(sensor_conf->name,
- EXYNOS_ZONE_COUNT, 0, NULL, &exynos_dev_ops, 0,
+ EXYNOS_ZONE_COUNT, 0, NULL, &exynos_dev_ops, NULL, 0,
IDLE_INTERVAL);
if (IS_ERR(th_zone->therm_dev)) {