author: Marek Szyprowski <m.szyprowski@samsung.com> 2020-02-28 10:23:31 +0100
committer: Daniel Lezcano <daniel.lezcano@linaro.org> 2020-03-12 11:56:53 +0100
commit: 82bdde8ecdd7e593c08f456dbb7e2e08b9b01bb5
parent: e20db70dba1c0783b9878ce37171ad560b1ebaf3
Commit Summary:
Diffstat:
1 file changed, 3 insertions, 1 deletion
diff --git a/drivers/thermal/samsung/exynos_tmu.c b/drivers/thermal/samsung/exynos_tmu.c
index fd4a17812f33..e9a90bc23b11 100644
--- a/drivers/thermal/samsung/exynos_tmu.c
+++ b/drivers/thermal/samsung/exynos_tmu.c
@@ -1094,7 +1094,9 @@ static int exynos_tmu_probe(struct platform_device *pdev)
&exynos_sensor_ops);
if (IS_ERR(data->tzd)) {
ret = PTR_ERR(data->tzd);
- dev_err(&pdev->dev, "Failed to register sensor: %d\n", ret);
+ if (ret != -EPROBE_DEFER)
+ dev_err(&pdev->dev, "Failed to register sensor: %d\n",
+ ret);
goto err_sclk;
}