diff options
author | Durgadoss R | 2012-09-18 07:34:56 +0200 |
---|---|---|
committer | Zhang Rui | 2012-11-05 06:59:57 +0100 |
commit | 50125a9b27dd09e9afdc1b8712ba0b3859886c68 (patch) | |
tree | dfd4e7ea8eb792fb725a3528ec929125c2432ea3 /drivers/thermal/spear_thermal.c | |
parent | Thermal: Add platform level information to thermal.h (diff) | |
download | kernel-qcow2-linux-50125a9b27dd09e9afdc1b8712ba0b3859886c68.tar.gz kernel-qcow2-linux-50125a9b27dd09e9afdc1b8712ba0b3859886c68.tar.xz kernel-qcow2-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/thermal/spear_thermal.c')
-rw-r--r-- | drivers/thermal/spear_thermal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/spear_thermal.c b/drivers/thermal/spear_thermal.c index 9bc969261d01..6b2d8b21aaee 100644 --- a/drivers/thermal/spear_thermal.c +++ b/drivers/thermal/spear_thermal.c @@ -147,7 +147,7 @@ static int spear_thermal_probe(struct platform_device *pdev) writel_relaxed(stdev->flags, stdev->thermal_base); spear_thermal = thermal_zone_device_register("spear_thermal", 0, 0, - stdev, &ops, 0, 0); + stdev, &ops, NULL, 0, 0); if (IS_ERR(spear_thermal)) { dev_err(&pdev->dev, "thermal zone device is NULL\n"); ret = PTR_ERR(spear_thermal); |