diff options
| author | Len Brown <len.brown@intel.com> | 2012-10-09 01:35:52 -0400 |
|---|---|---|
| committer | Len Brown <len.brown@intel.com> | 2012-10-09 01:35:52 -0400 |
| commit | 29b19e250434c6193c8b8e4c34c9c6284dd4f101 (patch) | |
| tree | 8a1c8e308c9ae964f7fb612e921e10cf4c30ba15 /drivers/platform/x86 | |
| parent | 125c4c706b680c7831f0966ff873c1ad0354ec25 (diff) | |
| parent | c072fed95c9855a920c114d7fa3351f0f54ea06e (diff) | |
Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux into thermal
Conflicts:
drivers/staging/omap-thermal/omap-thermal-common.
OMAP supplied dummy TC1 and TC2,
at the same time that the thermal tree removed them
from thermal_zone_device_register()
drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c
propogate the upstream MAX_IDR_LEVEL re-name
to prevent a build failure
Previously-fixed-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/platform/x86')
| -rw-r--r-- | drivers/platform/x86/acerhdf.c | 5 | ||||
| -rw-r--r-- | drivers/platform/x86/intel_mid_thermal.c | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/drivers/platform/x86/acerhdf.c b/drivers/platform/x86/acerhdf.c index 39abb150bdd..84c56881ba8 100644 --- a/drivers/platform/x86/acerhdf.c +++ b/drivers/platform/x86/acerhdf.c | |||
| @@ -329,7 +329,8 @@ static int acerhdf_bind(struct thermal_zone_device *thermal, | |||
| 329 | if (cdev != cl_dev) | 329 | if (cdev != cl_dev) |
| 330 | return 0; | 330 | return 0; |
| 331 | 331 | ||
| 332 | if (thermal_zone_bind_cooling_device(thermal, 0, cdev)) { | 332 | if (thermal_zone_bind_cooling_device(thermal, 0, cdev, |
| 333 | THERMAL_NO_LIMIT, THERMAL_NO_LIMIT)) { | ||
| 333 | pr_err("error binding cooling dev\n"); | 334 | pr_err("error binding cooling dev\n"); |
| 334 | return -EINVAL; | 335 | return -EINVAL; |
| 335 | } | 336 | } |
| @@ -661,7 +662,7 @@ static int acerhdf_register_thermal(void) | |||
| 661 | return -EINVAL; | 662 | return -EINVAL; |
| 662 | 663 | ||
| 663 | thz_dev = thermal_zone_device_register("acerhdf", 1, 0, NULL, | 664 | thz_dev = thermal_zone_device_register("acerhdf", 1, 0, NULL, |
| 664 | &acerhdf_dev_ops, 0, 0, 0, | 665 | &acerhdf_dev_ops, 0, |
| 665 | (kernelmode) ? interval*1000 : 0); | 666 | (kernelmode) ? interval*1000 : 0); |
| 666 | if (IS_ERR(thz_dev)) | 667 | if (IS_ERR(thz_dev)) |
| 667 | return -EINVAL; | 668 | return -EINVAL; |
diff --git a/drivers/platform/x86/intel_mid_thermal.c b/drivers/platform/x86/intel_mid_thermal.c index 3a27113deda..c8097616dd6 100644 --- a/drivers/platform/x86/intel_mid_thermal.c +++ b/drivers/platform/x86/intel_mid_thermal.c | |||
| @@ -502,7 +502,7 @@ static int mid_thermal_probe(struct platform_device *pdev) | |||
| 502 | goto err; | 502 | goto err; |
| 503 | } | 503 | } |
| 504 | pinfo->tzd[i] = thermal_zone_device_register(name[i], | 504 | pinfo->tzd[i] = thermal_zone_device_register(name[i], |
| 505 | 0, 0, td_info, &tzd_ops, 0, 0, 0, 0); | 505 | 0, 0, td_info, &tzd_ops, 0, 0); |
| 506 | if (IS_ERR(pinfo->tzd[i])) { | 506 | if (IS_ERR(pinfo->tzd[i])) { |
| 507 | kfree(td_info); | 507 | kfree(td_info); |
| 508 | ret = PTR_ERR(pinfo->tzd[i]); | 508 | ret = PTR_ERR(pinfo->tzd[i]); |
