diff options
author | Zhang Rui <rui.zhang@intel.com> | 2014-12-21 22:49:12 +0800 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2014-12-21 22:49:12 +0800 |
commit | 32c9edc4e356063e0218362d452a269cfa6798ee (patch) | |
tree | 43982a1f642c7fedef1cc5f8c247b646582cbe03 /drivers/thermal/samsung/exynos_tmu.c | |
parent | 59c56eb6db0c14fe569b1c9625cb850e52d29d88 (diff) | |
parent | 503ccc3fec4a56cdcfedc507cd1ea0d85e1fbfa2 (diff) |
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; |