diff options
author | Zhang Rui <rui.zhang@intel.com> | 2014-12-21 15:49:12 +0100 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2014-12-21 15:49:12 +0100 |
commit | 32c9edc4e356063e0218362d452a269cfa6798ee (patch) | |
tree | 43982a1f642c7fedef1cc5f8c247b646582cbe03 /drivers/thermal/samsung/exynos_tmu.c | |
parent | thermal/powerclamp: add ids for future xeon cpus (diff) | |
parent | thermal: cpu_cooling: return ERR_PTR() for !CPU_THERMAL or !THERMAL_OF (diff) | |
download | linux-32c9edc4e356063e0218362d452a269cfa6798ee.tar.xz linux-32c9edc4e356063e0218362d452a269cfa6798ee.zip |
Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal into thermal-soc
Diffstat (limited to 'drivers/thermal/samsung/exynos_tmu.c')
-rw-r--r-- | drivers/thermal/samsung/exynos_tmu.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/thermal/samsung/exynos_tmu.c b/drivers/thermal/samsung/exynos_tmu.c index d44d91d681d4..d2f1e62a4232 100644 --- a/drivers/thermal/samsung/exynos_tmu.c +++ b/drivers/thermal/samsung/exynos_tmu.c @@ -927,7 +927,10 @@ static int exynos_tmu_probe(struct platform_device *pdev) /* Register the sensor with thermal management interface */ ret = exynos_register_thermal(sensor_conf); if (ret) { - dev_err(&pdev->dev, "Failed to register thermal interface\n"); + if (ret != -EPROBE_DEFER) + dev_err(&pdev->dev, + "Failed to register thermal interface: %d\n", + ret); goto err_clk; } data->reg_conf = sensor_conf; |