diff options
author | Durgadoss R <durgadoss.r@intel.com> | 2012-09-18 11:04:56 +0530 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2012-11-05 13:59:57 +0800 |
commit | 50125a9b27dd09e9afdc1b8712ba0b3859886c68 (patch) | |
tree | dfd4e7ea8eb792fb725a3528ec929125c2432ea3 /drivers/staging | |
parent | ef87394791206019e4e4e04cb746865f2dc115ed (diff) | |
download | blackbird-op-linux-50125a9b27dd09e9afdc1b8712ba0b3859886c68.tar.gz blackbird-op-linux-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/staging')
-rw-r--r-- | drivers/staging/omap-thermal/omap-thermal-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/omap-thermal/omap-thermal-common.c b/drivers/staging/omap-thermal/omap-thermal-common.c index 5c0c203b887f..788f64f2f467 100644 --- a/drivers/staging/omap-thermal/omap-thermal-common.c +++ b/drivers/staging/omap-thermal/omap-thermal-common.c @@ -270,7 +270,7 @@ int omap_thermal_expose_sensor(struct omap_bandgap *bg_ptr, int id, /* Create thermal zone */ data->omap_thermal = thermal_zone_device_register(domain, OMAP_TRIP_NUMBER, 0, data, &omap_thermal_ops, - FAST_TEMP_MONITORING_RATE, + NULL, FAST_TEMP_MONITORING_RATE, FAST_TEMP_MONITORING_RATE); if (IS_ERR_OR_NULL(data->omap_thermal)) { dev_err(bg_ptr->dev, "thermal zone device is NULL\n"); |