summaryrefslogtreecommitdiff
path: root/drivers/thermal/imx_thermal.c
diff options
context:
space:
mode:
authorAnson Huang <Anson.Huang@nxp.com>2018-09-13 12:13:05 +0300
committerEduardo Valentin <edubezval@gmail.com>2018-10-23 03:36:41 +0300
commit337a4aecdaf8fa53b16fbf48a73d328fb44ffb75 (patch)
tree6d896537e94ba07d45efe3fa5d3dddc76d07347f /drivers/thermal/imx_thermal.c
parent36d83c6662450e13a2fa5792b34afff6f8bdba50 (diff)
downloadlinux-337a4aecdaf8fa53b16fbf48a73d328fb44ffb75.tar.xz
thermal: imx: improve error message
Remove the duplicated "from" to improve the error message. Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'drivers/thermal/imx_thermal.c')
-rw-r--r--drivers/thermal/imx_thermal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/imx_thermal.c b/drivers/thermal/imx_thermal.c
index aa452acb60b6..6cfa2a82209e 100644
--- a/drivers/thermal/imx_thermal.c
+++ b/drivers/thermal/imx_thermal.c
@@ -725,7 +725,7 @@ static int imx_thermal_probe(struct platform_device *pdev)
} else {
ret = imx_init_from_tempmon_data(pdev);
if (ret) {
- dev_err(&pdev->dev, "failed to init from from fsl,tempmon-data\n");
+ dev_err(&pdev->dev, "failed to init from fsl,tempmon-data\n");
return ret;
}
}